####################
#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
#		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 = aztec
	 			religion = aztec_reformed
			}
		}
	}
}

execution_method = {
	death = death_execution_ash
	weight_multiplier = {
		factor = 300
		modifier = {
			factor = 2
			trait = homosexual
		}
	}
	trigger = {
		FROM = {
			OR = {
				# Only available to the following:
 				religion = aztec
	 			religion = aztec_reformed
			}
		}
	}
}

execution_method = {
	death = death_execution_burning
	weight_multiplier = {
		factor = 150
		modifier = {
			factor = 2
			is_female = yes
		}
		modifier = {
			factor = 2
			is_any_kinslayer_trigger = yes
		}
		modifier = {
			factor = 4
			is_heresy_of = FROM
		}
		modifier = {
			factor = 2
			FROM = {
				OR = {
					has_opinion_modifier = { who = ROOT modifier = opinion_traitor } 
					has_opinion_modifier = { who = ROOT modifier = opinion_rebel_traitor } 
					has_opinion_modifier = { who = ROOT modifier = opinion_regicide_traitor } 
					has_opinion_modifier = { who = ROOT modifier = opinion_killed_close_kin } 
					has_opinion_modifier = { who = ROOT modifier = opinion_witch } 
					has_opinion_modifier = { who = ROOT modifier = opinion_takfir } 
					has_opinion_modifier = { who = ROOT modifier = opinion_unfaithful_wife } 
					has_opinion_modifier = { who = ROOT modifier = opinion_cuckolded } 
					has_opinion_modifier = { who = ROOT modifier = opinion_charge_heresiarch } 
					has_opinion_modifier = { who = ROOT modifier = opinion_charge_infidel } 
					has_opinion_modifier = { who = ROOT modifier = opinion_charge_deviant } 
					has_opinion_modifier = { who = ROOT modifier = opinion_charge_traitor } 
				}
			}
		}
	}
	trigger = {
		FROM = {
			NOT = { is_nomadic = yes }
		}
	}
}

execution_method = {
	death = death_execution_hdq
	weight_multiplier = {
		factor = 200
		modifier = {
			factor = 4
			FROM = {
				OR = {
					has_opinion_modifier = { who = ROOT modifier = declared_war } 
					has_opinion_modifier = { who = ROOT modifier = opinion_dishonorable } 
					has_opinion_modifier = { who = ROOT modifier = opinion_traitor } 
					has_opinion_modifier = { who = ROOT modifier = opinion_rebel_traitor } 
					has_opinion_modifier = { who = ROOT modifier = opinion_regicide_traitor } 
					has_opinion_modifier = { who = ROOT modifier = opinion_killed_close_kin } 
					has_opinion_modifier = { who = ROOT modifier = opinion_refused_abdicate_title } 
					has_opinion_modifier = { who = ROOT modifier = opinion_refused_order }
					has_opinion_modifier = { who = ROOT modifier = opinion_witch } 
					has_opinion_modifier = { who = ROOT modifier = opinion_takfir } 
					has_opinion_modifier = { who = ROOT modifier = opinion_unfaithful_wife } 
					has_opinion_modifier = { who = ROOT modifier = opinion_cuckolded } 
					has_opinion_modifier = { who = ROOT modifier = opinion_charge_heresiarch } 
					has_opinion_modifier = { who = ROOT modifier = opinion_charge_infidel } 
					has_opinion_modifier = { who = ROOT modifier = opinion_charge_deviant } 
					has_opinion_modifier = { who = ROOT modifier = opinion_charge_traitor } 
					has_opinion_modifier = { who = ROOT modifier = opinion_charge_slanderer } 
					has_opinion_modifier = { who = ROOT modifier = abuse_of_office } 
				}
			}
		}
		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
			}
			NOR = {
				religion = aztec
	 			religion = aztec_reformed
			}
		}
	}
}

execution_method = {
	death = death_execution_bear
	weight_multiplier = {
		factor = 50
		modifier = {
			factor = 8
			FROM = {
				trait = hunter
			}
		}
		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
		modifier = {
			factor = 8
			FROM = {
				trait = hunter
			}
		}
		modifier = {
			factor = 3
			FROM = {
				trait = cruel
			}
		}
	}
	trigger = {
		FROM = {
			capital_scope = {
				region = world_africa
			}
		}
	}
}

execution_method = {
	death = death_execution_snake_pit
	weight_multiplier = {
		factor = 50
		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 = aztec
	 			religion = aztec_reformed
			}
			NOT = { is_nomadic = yes }
		}
	}
}

execution_method = {
	death = death_execution_boiling
	weight_multiplier = {
		factor = 200
	}
	trigger = {
		FROM = {
			AND = {
				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 = gamer
				trait = hunter
			}
		}
	}
}

execution_method = {
	death = death_execution_live_burial
	weight_multiplier = {
		factor = 200
		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
		modifier = {
			factor = 2
			FROM = {
				trait = kind
			}
		}
		modifier = {
			factor = 2
			FROM = {
				trait = temperate
			}
		}
		modifier = {
			factor = 2
			FROM = {
				trait = charitable
			}
		}
		modifier = {
			factor = 4
			is_lowborn = yes
		}
	}
	trigger = {
		FROM = {
			NOT = { is_nomadic = yes }
			NOR = {
				religion = aztec
	 			religion = aztec_reformed
			}
		}
	}
}

execution_method = {
	death = death_execution_immurement
	weight_multiplier = {
		factor = 200
		modifier = {
			factor = 3
			FROM = {
				trait = architect
			}
		}
		modifier = {
			factor = 3
			FROM = {
				any_owned_bloodline = {
					has_bloodline_flag = bloodline_blood_building 
				}
			}
		}
	}
	trigger = {
		FROM = {
			OR = {
				trait = wroth
				trait = cruel
				trait = architect
				any_owned_bloodline = {
					has_bloodline_flag = bloodline_blood_building 
				}
			}
			NOR = {
				is_nomadic = yes
				is_tribal = yes
			}
		}
	}
}

execution_method = {
	death = death_execution_beheading
	weight_multiplier = {
		factor = 300
		modifier = {
			factor = 3
			FROM = {
				trait = kind
			}
		}
		modifier = {
			factor = 2
			FROM = {
				trait = temperate
			}
		}
		modifier = {
			factor = 2
			FROM = {
				trait = charitable
			}
		}
	}
	trigger = {
		is_lowborn = no
		FROM = {
			NOT = { is_nomadic = yes }
		}
	}
}

execution_method = {
	death = death_execution_wine
	weight_multiplier = {
		factor = 250
	}
	trigger = {
		AND = {
			FROM = {
				OR = {
					trait = hedonist
					trait = drunkard
				}
				NOR = {
					religion = aztec
					religion = aztec_reformed
				}
			}
			is_lowborn = no
		}
	}
}

execution_method = {
	death = death_execution_flaying
	weight_multiplier = {
		factor = 200
		modifier = {
			factor = 2
			FROM = {
				trait = hunter
			}
		}
	}
	trigger = {
		FROM = {
			AND = {
				OR = {
					trait = hunter
					trait = cruel
				}
				NOT = {
					trait = kind
				}
				NOT = { is_nomadic = yes }
			}
		}
	}
}

execution_method = {
	death = death_execution_impaling
	weight_multiplier = {
		factor = 1200
	}
	trigger = {
		FROM = {
			trait = impaler
		}
	}
}

execution_method = {
	death = death_execution_tiger
	weight_multiplier = {
		factor = 50
		modifier = {
			factor = 8
			FROM = {
				trait = hunter
			}
		}
		modifier = {
			factor = 3
			FROM = {
				trait = cruel
			}
		}
	}
	trigger = {
		FROM = {
			capital_scope = {
				region = world_india
			}
		}
	}
}

execution_method = {
	death = death_execution_elephants
	weight_multiplier = {
		factor = 200
		modifier = {
			factor = 10
			controls_religion = yes
		}
		modifier = {
			factor = 2
			FROM = {
				OR = {
					tier = emperor
					tier = king
				}
			}
		}
	}
	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 = {
			AND = {
				OR = {
					trait = cruel
					trait = wroth
				}
				capital_scope = {
					region = world_india
				}
			}
		}
	}
}

execution_method = {
	death = death_execution_stoning
	weight_multiplier = {
		factor = 100
		modifier = {
			factor = 2
			FROM = {
				trait = cruel
			}
		}
		modifier = {
			factor = 2
			FROM = {
				trait = wroth
			}
		}
		modifier = {
			factor = 4
			trait = homosexual
		}
	}
	trigger = {
		FROM = {
			OR = {
				religion = aztec
				religion = aztec_reformed
				religion_group = christian
				religion_group = muslim
			}
		}
	}
}

execution_method = {
	death = death_execution_crucifixion
	weight_multiplier = {
		factor = 200
	}
	trigger = {
		FROM = {
			AND = {
				OR = {
					culture = persian
					religion_group = muslim
					culture = roman
				}
				NOT = { religion_group = christian }
			}
		}
	}
}

execution_method = {
	death = death_execution_blood_eagle
	weight_multiplier = {
		factor = 200
		modifier = {
			factor = 2
			FROM = {
				trait = cruel
			}
		}
		modifier = {
			factor = 2
			FROM = {
				trait = wroth
			}
		}
		modifier = {
			factor = 5
			is_rival = FROM
		}
	}
	trigger = {
		FROM = {
			OR = {
				religion = norse_pagan
				religion = norse_pagan_reformed
			}
		}
	}
}

execution_method = {
	death = death_execution_scaphism
	weight_multiplier = {
		factor = 250
		modifier = {
			factor = 2
			FROM = {
				trait = cruel
			}
		}
		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
			}
			NOR = {
				is_nomadic = yes
				is_tribal = yes
			}
		}
	}
}

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
		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 = {
			trait = cruel
			capital_scope = {
				region = world_europe
			}
			NOR = {
				is_nomadic = yes
				is_tribal = yes
			}
		}
	}
}

execution_method = {
	death = death_execution_boar
	weight_multiplier = {
		factor = 50
		modifier = {
			factor = 8
			FROM = {
				trait = cruel
			}
		}
		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 = {
				has_wonder_upgrade = upgrade_spikes
			}
		}
	}
}

execution_method = {
	death = death_execution_wonder_moat_spikes
	weight_multiplier = {
		factor = 400
	
	}
	trigger = {
		FROM = {
			any_realm_wonder = {
				has_wonder_upgrade = upgrade_moat_spike
			}
		}
	}
}

execution_method = {
	death = death_execution_wonder_moat_pit
	weight_multiplier = {
		factor = 400
	
	}
	trigger = {
		FROM = {
			any_realm_wonder = {
				has_wonder_upgrade = upgrade_moat_pit
			}
		}
	}
}

execution_method = {
	death = death_execution_wonder_moat_water
	weight_multiplier = {
		factor = 400
	
	}
	trigger = {
		FROM = {
			any_realm_wonder = {
				has_wonder_upgrade = upgrade_moat_water
			}
		}
	}
}


