#example = {
#	icons: Needs "GFX_planet_modifier_ground_support_NAME" and "GFX_fleet_order_button_ground_support_NAME" (hardcoded, no need to define here)
#
#	# root = fleet
#	trigger = {
#		always = yes
#	}
#
#	default = yes	# Is this the default stance that new fleets will use?
#
#	stop_when_armies_dead = yes	# Will this stance continue to bombard planets where all defensive armies are dead? default = no
#	abduct_pops = no	# Will this stance attempt to abduct pops to your own planets instead of killing them? default = no
#
#	planet_damage = 0.5		# General scale of damage to planet, default = 1.0
#	army_damage = 1.0		# General scale of damage to armies, default = 1.0
#
#	kill_pop_chance = {		# Chance that a pop is killed when planetary damage reaches 100%, default = 0
#		base = 0.25
#	}
#	min_pops_to_kill_pop = 8	# Will not kill/abduct pops if pops <= this number already, default = 0. Doesn't work for nations that doesn't have diplomatic wars!
#
#	# root = fleet
#	# from = planet
#	ai_weight = {
#		weight = 1
#	}
#}

planetmega_body_raiding = {
	default = no
	abduct_pops = no
	trigger = {
		owner? = {
			is_ai = no
			has_technology = tech_planetmega_improved
			or = {
				has_ascension_perk = ap_plnmg_organic_raid
				has_ascension_perk = ap_nihilistic_acquisition
				is_slaver = yes
			}
		}
	}

	army_damage = 0.5
	planet_damage = {
		base = 0.5
		modifier = {
			factor = 0.5
			owner? = { has_policy_flag = orbital_bombardment_selective }
		}
		modifier = {
			factor = 5
			from = { planet_devastation < 25 } #based on vanilla define: PLANET_HEALTH_PROTECT_POPS
		}
	}

	min_pops_to_kill_pop = 200
	kill_pop_amount = { min = 0 max = 350 }
	kill_pop_chance = {
		base = 0.15
		modifier = {
			factor = 2.5
			colony.carrier = { any_fleet_in_orbit = { owner? = { is_xenophage = yes } } }
		}
		modifier = {
			factor = 3.5
			colony.carrier = {
				any_fleet_in_orbit = {
					owner? = {
						or = {
							is_homicidal = yes
							is_slaver = yes
						}
					}
				}
			}
		}
	}

	# root = fleet
	# from = planet
	ai_weight = { weight = 0 }
}
