### Regular Empires
# Planets
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_gestalt = no
		}
		planet_is_habitat_equivalent = no
		planet_is_ecu_equivalent = no
		planet_is_ring_world_equivalent = no
		NOT = { has_modifier = slave_colony }
		NOT = { has_knights_zone = yes }
	}
	job_soldier_add = $AMOUNT$
}

# Habitats
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_gestalt = no
		}
		planet_is_habitat_equivalent = yes
		NOT = { has_modifier = slave_colony }
		NOT = { has_knights_zone = yes }
	}
	job_soldier_add = $AMOUNT$
	mult = owner.value:hab_void_dweller_jobs
}

# Ecus
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_regular_empire = yes
		}
		planet_is_ecu_equivalent = yes
		NOT = { has_modifier = slave_colony }
		NOT = { has_knights_zone = yes }
	}
	job_soldier_add = $AMOUNT$
	mult = 3
}

# Ringworld
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_regular_empire = yes
		}
		planet_is_ring_world_equivalent = yes
		NOT = { has_modifier = slave_colony }
		NOT = { has_knights_zone = yes }
	}
	job_soldier_add = $AMOUNT$
	mult = 5
}

### Knights
# Colonies with the Knights zone convert their soldier jobs into knight jobs (see inline_scripts/jobs/soldiers_add.txt)
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_gestalt = no
		}
		has_knights_zone = yes
		NOT = { has_modifier = slave_colony }
	}
	job_knight_add = $AMOUNT$
	mult = 0.5
}

### Battle Thralls
# Planets
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_gestalt = no
		}
		planet_is_habitat_equivalent = no
		planet_is_ecu_equivalent = no
		planet_is_ring_world_equivalent = no
		has_modifier = slave_colony
	}
	job_battle_thrall_add = $AMOUNT$
}

# Habitats
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_gestalt = no
		}
		planet_is_habitat_equivalent = yes
		has_modifier = slave_colony
	}
	job_battle_thrall_add = $AMOUNT$
	mult = owner.value:hab_void_dweller_jobs
}

# Ecus
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_regular_empire = yes
		}
		planet_is_ecu_equivalent = yes
		has_modifier = slave_colony
	}
	job_battle_thrall_add = $AMOUNT$
	mult = 3
}

# Ringworld
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_regular_empire = yes
		}
		planet_is_ring_world_equivalent = yes
		has_modifier = slave_colony
	}
	job_battle_thrall_add = $AMOUNT$
	mult = 5
}

# Nomads
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_regular_empire = yes
			is_nomadic = yes
		}
		NOT = { has_knights_zone = yes }
	}
	job_soldier_add = $AMOUNT$
}

### Gestalt Empires
# Planets
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_gestalt = yes
		}
		planet_is_habitat_equivalent = no
		planet_is_ecu_equivalent = no
		planet_is_ring_world_equivalent = no
	}
	job_warrior_drone_add = $AMOUNT$
}

# Habitats
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_gestalt = yes
		}
		planet_is_habitat_equivalent = yes
	}
	job_warrior_drone_add = $AMOUNT$
	mult = owner.value:hab_void_dweller_jobs
}

# Ecus
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_gestalt = yes
		}
		planet_is_ecu_equivalent = yes
	}
	job_warrior_drone_add = $AMOUNT$
	mult = 3
}

# Ringworld
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_gestalt = yes
		}
		planet_is_ring_world_equivalent = yes
	}
	job_warrior_drone_add = $AMOUNT$
	mult = 5
}

# Nomads
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_gestalt = yes
			is_nomadic = yes
		}
	}
	job_warrior_drone_add = $AMOUNT$
}
