####################
#DEATH BY EXECUTION:
####################
#Executions are randomized from this list
#An additive modifier is also available, as seen in the example below
#
#execution_method = {
#	death = death_platypus
#	weight_multiplier = {
#		factor = 1
#		mult_modifier = {
#			factor = 0.5
#			FROM = {
#				trait = proud
#			}
#		}
#		additive_modifier = {
#			value = 50
#			ROOT = {
#				has_character_modifier = the_dungeon
#			}
#		}
#	}
#	trigger = {
#		always = yes
#	}
# }
####################

execution_method = {
	death = death_execution_crushing

	weight_multiplier = {
		factor = 200
	}

	trigger = {
		FROM = {
			OR = {
				# Only available to the following:
				trait = cruel
				trait = wroth
				religion_openly_aztec_or_reformed_trigger = yes
			}
		}
	}
}

execution_method = {
	death = death_execution_ash

	weight_multiplier = {
		factor = 300

		mult_modifier = {
			factor = 2
			trait = homosexual
		}
	}

	trigger = {
		FROM = {
			# Only available to the following:
			religion_openly_aztec_or_reformed_trigger = yes
		}
	}
}

execution_method = {
	death = death_execution_burning

	weight_multiplier = {
		factor = 150

		mult_modifier = {
			factor = 2
			is_female = yes
		}
		mult_modifier = {
			factor = 2
			is_any_kinslayer_trigger = yes
		}
		mult_modifier = {
			factor = 4
			is_heresy_of = FROM
		}
		mult_modifier = {
			factor = 2
			FROM = {
				OR = {
					has_opinion_modifier = { who = ROOT name = opinion_traitor }
					has_opinion_modifier = { who = ROOT name = opinion_rebel_traitor }
					has_opinion_modifier = { who = ROOT name = opinion_regicide_traitor }
					has_opinion_modifier = { who = ROOT name = opinion_killed_close_kin }
					has_opinion_modifier = { who = ROOT name = opinion_witch }
					has_opinion_modifier = { who = ROOT name = opinion_takfir }
					has_opinion_modifier = { who = ROOT name = opinion_unfaithful_wife }
					has_opinion_modifier = { who = ROOT name = opinion_cuckolded }
					has_opinion_modifier = { who = ROOT name = opinion_charge_heresiarch }
					has_opinion_modifier = { who = ROOT name = opinion_charge_infidel }
					has_opinion_modifier = { who = ROOT name = opinion_charge_deviant }
					has_opinion_modifier = { who = ROOT name = opinion_charge_traitor }
				}
			}
		}
	}

	trigger = {
		FROM = {
			NOR = {
				is_nomadic = yes
				religion = zoroastrian
			}
		}
	}
}

execution_method = {
	death = death_execution_hdq

	weight_multiplier = {
		factor = 200

		mult_modifier = {
			factor = 4
			FROM = {
				OR = {
					has_opinion_modifier = { who = ROOT name = declared_war }
					has_opinion_modifier = { who = ROOT name = opinion_dishonorable }
					has_opinion_modifier = { who = ROOT name = opinion_traitor }
					has_opinion_modifier = { who = ROOT name = opinion_rebel_traitor }
					has_opinion_modifier = { who = ROOT name = opinion_regicide_traitor }
					has_opinion_modifier = { who = ROOT name = opinion_killed_close_kin }
					has_opinion_modifier = { who = ROOT name = opinion_refused_abdicate_title }
					has_opinion_modifier = { who = ROOT name = opinion_refused_order }
					has_opinion_modifier = { who = ROOT name = opinion_witch }
					has_opinion_modifier = { who = ROOT name = opinion_takfir }
					has_opinion_modifier = { who = ROOT name = opinion_unfaithful_wife }
					has_opinion_modifier = { who = ROOT name = opinion_cuckolded }
					has_opinion_modifier = { who = ROOT name = opinion_charge_heresiarch }
					has_opinion_modifier = { who = ROOT name = opinion_charge_infidel }
					has_opinion_modifier = { who = ROOT name = opinion_charge_deviant }
					has_opinion_modifier = { who = ROOT name = opinion_charge_traitor }
					has_opinion_modifier = { who = ROOT name = opinion_charge_slanderer }
					has_opinion_modifier = { who = ROOT name = abuse_of_office }
				}
			}
		}
		mult_modifier = {
		factor = 0.5
			FROM = {
				OR = {
					trait = kind
					trait = temperate
					trait = charitable
				}
			}
		}
	}

	trigger = {
		FROM = {
			OR = {
				trait = cruel
				trait = wroth
				culture_group = west_germanic
			}
			NOR = {
				is_nomadic = yes
				is_tribal = yes
			}
			religion_openly_aztec_or_reformed_trigger = no
		}
	}
}

execution_method = {
	death = death_execution_bear

	weight_multiplier = {
		factor = 50

		mult_modifier = {
			factor = 8
			FROM = {
				trait = hunter
			}
		}
		mult_modifier = {
			factor = 3
			FROM = {
				trait = cruel
			}
		}
	}

	trigger = {
		FROM = {
			capital_scope = {
				NOR = {
					region = world_india
					region = world_africa
				}
			}
		}
	}
}

execution_method = {
	death = death_execution_lion

	weight_multiplier = {
		factor = 100

		mult_modifier = {
			factor = 8
			FROM = {
				trait = hunter
			}
		}
		mult_modifier = {
			factor = 3
			FROM = {
				trait = cruel
			}
		}
	}

	trigger = {
		FROM = {
			capital_scope = {
				region = world_africa
			}
		}
	}
}

execution_method = {
	death = death_execution_snake_pit

	weight_multiplier = {
		factor = 50

		mult_modifier = {
			factor = 2
			FROM = {
				trait = deceitful
			}
		}
	}

	trigger = {
		FROM = {
			NOT = { is_nomadic = yes }
		}
	}
}

execution_method = {
	death = death_execution_disembowelment

	weight_multiplier = {
		factor = 200
	}

	trigger = {
		FROM = {
			OR = {
				trait = cruel
				trait = wroth
				religion_openly_aztec_or_reformed_trigger = yes
			}
			NOT = { is_nomadic = yes }
		}
	}
}

execution_method = {
	death = death_execution_boiling

	weight_multiplier = {
		factor = 200
	}

	trigger = {
		FROM = {
			capital_scope = {
				OR = {
					region = world_europe
					region = world_india
				}
			}
			trait = cruel
			NOT = { is_nomadic = yes }
		}
	}
}

execution_method = {
	death = death_execution_sawing

	weight_multiplier = {
		factor = 200
	}

	trigger = {
		FROM = {
			trait = cruel
			NOT = { is_nomadic = yes }
		}
	}
}

execution_method = {
	death = death_execution_hunt

	weight_multiplier = {
		factor = 400
	}

	trigger = {
		FROM = {
			OR = {
				trait = game_master
				trait = hunter
			}
		}
	}
}

execution_method = {
	death = death_execution_live_burial

	weight_multiplier = {
		factor = 200

		mult_modifier = {
			factor = 3
			FROM = {
				trait = gardener
			}
		}
	}

	trigger = {
		FROM = {
			OR = {
				trait = gardener
				trait = cruel
				trait = wroth
			}
		}
	}
}

execution_method = {
	death = death_execution_hanging

	weight_multiplier = {
		factor = 200

		mult_modifier = {
			factor = 2
			FROM = {
				trait = kind
			}
		}
		mult_modifier = {
			factor = 2
			FROM = {
				trait = temperate
			}
		}
		mult_modifier = {
			factor = 2
			FROM = {
				trait = charitable
			}
		}
		mult_modifier = {
			factor = 4
			is_lowborn = yes
		}
	}

	trigger = {
		FROM = {
			is_nomadic = no
			religion_openly_aztec_or_reformed_trigger = no
		}
	}
}

execution_method = {
	death = death_execution_immurement

	weight_multiplier = {
		factor = 200

		mult_modifier = {
			factor = 3
			FROM = {
				trait = architect
			}
		}
		mult_modifier = {
			factor = 3
			FROM = {
				any_owned_bloodline = {
					has_bloodline_flag = bloodline_blood_building
					bloodline_is_active_for = PREV
				}
			}
		}
	}

	trigger = {
		FROM = {
			is_nomadic = no
			is_tribal = no

			OR = {
				trait = wroth
				trait = cruel
				trait = architect

				any_owned_bloodline = {
					has_bloodline_flag = bloodline_blood_building
					bloodline_is_active_for = PREV
				}
			}
		}
	}
}

execution_method = {
	death = death_execution_beheading

	weight_multiplier = {
		factor = 300

		mult_modifier = {
			factor = 3
			FROM = {
				trait = kind
			}
		}
		mult_modifier = {
			factor = 2
			FROM = {
				trait = temperate
			}
		}
		mult_modifier = {
			factor = 2
			FROM = {
				trait = charitable
			}
		}
	}

	trigger = {
		is_lowborn = no
		FROM = {
			is_nomadic = no
		}
	}
}

execution_method = {
	death = death_execution_wine

	weight_multiplier = {
		factor = 250
	}

	trigger = {
		FROM = {
			OR = {
				trait = hedonist
				trait = drunkard
			}
			religion_openly_aztec_or_reformed_trigger = no
		}
		is_lowborn = no
	}
}

execution_method = {
	death = death_execution_flaying

	weight_multiplier = {
		factor = 200

		mult_modifier = {
			factor = 2
			FROM = {
				trait = hunter
			}
		}
	}

	trigger = {
		FROM = {
			is_nomadic = no
			OR = {
				trait = hunter
				trait = cruel
			}
			NOT = { trait = kind }
		}
	}
}

execution_method = {
	death = death_execution_impaling

	weight_multiplier = {
		factor = 1200
	}

	trigger = {
		FROM = {
			trait = impaler
		}
	}
}

execution_method = {
	death = death_execution_tiger

	weight_multiplier = {
		factor = 50

		mult_modifier = {
			factor = 8
			FROM = {
				trait = hunter
			}
		}
		mult_modifier = {
			factor = 3
			FROM = {
				trait = cruel
			}
		}
	}

	trigger = {
		FROM = {
			capital_scope = {
				region = world_india
			}
		}
	}
}

execution_method = {
	death = death_execution_elephants

	weight_multiplier = {
		factor = 200

		mult_modifier = {
			factor = 10
			controls_religion = yes
		}
		mult_modifier = {
			factor = 2
			FROM = {
				higher_tier_than = DUKE
			}
		}
	}

	trigger = {
		FROM = {
			capital_scope = {
				OR = {
					region = world_india
					region = world_persia
					region = world_africa_east
					region = world_middle_east_arabia
				}
			}
		}
	}
}

execution_method = {
	death = death_execution_bamboo

	weight_multiplier = {
		factor = 300
	}

	trigger = {
		FROM = {
			OR = {
				trait = cruel
				trait = wroth
			}
			capital_scope = {
				region = world_india
			}
		}
	}
}

execution_method = {
	death = death_execution_stoning

	weight_multiplier = {
		factor = 100

		mult_modifier = {
			factor = 2
			FROM = {
				trait = cruel
			}
		}
		mult_modifier = {
			factor = 2
			FROM = {
				trait = wroth
			}
		}
		mult_modifier = {
			factor = 4
			trait = homosexual
		}
	}

	trigger = {
		FROM = {
			OR = {
				religion_openly_aztec_or_reformed_trigger = yes
				religion_group = christian
				religion_group = muslim
			}
		}
	}
}

execution_method = {
	death = death_execution_crucifixion

	weight_multiplier = {
		factor = 200
	}

	trigger = {
		FROM = {
			OR = {
				religion_group = muslim
				culture = persian
				culture = roman
			}
			NOT = { religion_group = christian }
		}
	}
}

execution_method = {
	death = death_execution_blood_eagle

	weight_multiplier = {
		factor = 200

		mult_modifier = {
			factor = 2
			FROM = {
				trait = cruel
			}
		}
		mult_modifier = {
			factor = 2
			FROM = {
				trait = wroth
			}
		}
		mult_modifier = {
			factor = 5
			is_rival = FROM
		}
	}

	trigger = {
		FROM = {
			religion_openly_norse_or_reformed_trigger = yes
		}
	}
}

execution_method = {
	death = death_execution_scaphism

	weight_multiplier = {
		factor = 250

		mult_modifier = {
			factor = 2
			FROM = {
				trait = cruel
			}
		}
		mult_modifier = {
			factor = 2
			FROM = {
				trait = wroth
			}
		}
	}

	trigger = {
		FROM = {
			culture = persian
		}
	}
}

execution_method = {
	death = death_execution_drowning_pit

	weight_multiplier = {
		factor = 250
	}

	trigger = {
		FROM = {
			OR = {
				culture_group = celtic
				culture = norse
			}
			is_nomadic = no
			is_tribal = no
		}
	}
}

execution_method = {
	death = death_execution_garrotting

	weight_multiplier = {
		factor = 300
	}

	trigger = {
		FROM = {
			culture_group = iberian
		}
	}
}

execution_method = {
	death = death_execution_horses

	weight_multiplier = {
		factor = 300

		mult_modifier = {
			factor = 4
			is_rival = FROM
		}
	}

	trigger = {
		FROM = {
			is_nomadic = yes
		}
	}
}

execution_method = {
	death = death_execution_back_breaking

	weight_multiplier = {
		factor = 700
	}

	trigger = {
		is_lowborn = no
		FROM = {
			is_nomadic = yes
		}
	}
}

execution_method = {
	death = death_execution_wheel

	weight_multiplier = {
		factor = 250
	}

	trigger = {
		FROM = {
			is_nomadic = no
			is_tribal = no
			trait = cruel

			capital_scope = {
				region = world_europe
			}
		}
	}
}

execution_method = {
	death = death_execution_boar

	weight_multiplier = {
		factor = 50

		mult_modifier = {
			factor = 8
			FROM = {
				trait = cruel
			}
		}
		mult_modifier = {
			factor = 3
			FROM = {
				trait = hunter
			}
		}
	}

	trigger = {
		FROM = {
			capital_scope = {
				region = world_europe
			}
		}
	}
}

execution_method = {
	death = death_execution_wonder_spikes

	weight_multiplier = {
		factor = 400
	}

	trigger = {
		FROM = {
			any_realm_wonder_upgrade = {
				has_wonder_upgrade_flag = spikes
				is_active = yes
			}
		}
	}
}

execution_method = {
	death = death_execution_wonder_moat_spikes

	weight_multiplier = {
		factor = 400
	}

	trigger = {
		FROM = {
			any_realm_wonder_upgrade = {
				has_wonder_upgrade_flag = moat_spike
				is_active = yes
			}
		}
	}
}

execution_method = {
	death = death_execution_wonder_moat_pit

	weight_multiplier = {
		factor = 400
	}

	trigger = {
		FROM = {
			any_realm_wonder_upgrade = {
				has_wonder_upgrade_flag = moat_pit
				is_active = yes
			}
		}
	}
}

execution_method = {
	death = death_execution_wonder_moat_water

	weight_multiplier = {
		factor = 400
	}

	trigger = {
		FROM = {
			any_realm_wonder_upgrade = {
				has_wonder_upgrade_flag = moat_water
				is_active = yes
			}
		}
	}
}