### Regular Empires
# Planets
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_regular_empire = yes
		}
		planet_is_habitat_equivalent = no
		planet_is_ecu_equivalent = no
		planet_is_ring_world_equivalent = no
	}
	job_bureaucrat_add = $AMOUNT$
}
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			has_active_tradition = tr_virtuality_4
			is_regular_empire = yes
		}
		planet_is_habitat_equivalent = no
		planet_is_ecu_equivalent = no
		planet_is_ring_world_equivalent = no
	}
	job_bureaucrat_add = $AMOUNT$
	mult = 0.5
}

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

triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_regular_empire = yes
			has_active_tradition = tr_virtuality_4
		}
		planet_is_habitat_equivalent = yes
	}
	job_bureaucrat_add = $AMOUNT$
	mult = owner.value:hab_void_dweller_virtual_jobs
}

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

triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			has_active_tradition = tr_virtuality_4
			is_regular_empire = yes
		}
		planet_is_ecu_equivalent = yes
	}
	job_bureaucrat_add = $AMOUNT$
	mult = 1.5
}

# Ringworlds
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_regular_empire = yes
		}
		planet_is_ring_world_equivalent = yes
	}
	job_bureaucrat_add = $AMOUNT$
	mult = 5
}

triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			has_active_tradition = tr_virtuality_4
			is_regular_empire = yes
		}
		planet_is_ring_world_equivalent = yes
	}
	job_bureaucrat_add = $AMOUNT$
	mult = 2.5
}

# Nomads
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_regular_empire = yes
			is_nomadic = yes
		}
	}
	job_bureaucrat_add = $AMOUNT$
}

### Gestalt Empires
# Planets
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_gestalt = yes
			NOT = {
				has_valid_civic = civic_machine_servitor
			}
		}
		planet_is_habitat_equivalent = no
		planet_is_ecu_equivalent = no
		planet_is_ring_world_equivalent = no
	}
	job_coordinator_add = $AMOUNT$
}

triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			has_active_tradition = tr_virtuality_4
			is_gestalt = yes
			NOT = {
				has_valid_civic = civic_machine_servitor
			}
		}
		planet_is_habitat_equivalent = no
		planet_is_ecu_equivalent = no
		planet_is_ring_world_equivalent = no
	}
	job_coordinator_add = $AMOUNT$
	mult = 0.5
}

# Habitats
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_gestalt = yes
			NOT = {
				has_valid_civic = civic_machine_servitor
			}
		}
		planet_is_habitat_equivalent = yes
	}
	job_coordinator_add = $AMOUNT$
	mult = owner.value:hab_void_dweller_jobs
}

triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_gestalt = yes
			has_active_tradition = tr_virtuality_4
			NOT = {
				has_valid_civic = civic_machine_servitor
			}
		}
		planet_is_habitat_equivalent = yes
	}
	job_coordinator_add = $AMOUNT$
	mult = owner.value:hab_void_dweller_virtual_jobs
}

# Ecus
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_gestalt = yes
			NOT = {
				has_valid_civic = civic_machine_servitor
			}
		}
		planet_is_ecu_equivalent = yes
	}
	job_coordinator_add = $AMOUNT$
	mult = 3
}

triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			has_active_tradition = tr_virtuality_4
			is_gestalt = yes
			NOT = {
				has_valid_civic = civic_machine_servitor
			}
		}
		planet_is_ecu_equivalent = yes
	}
	job_coordinator_add = $AMOUNT$
	mult = 1.5
}

# Ringworlds
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_gestalt = yes
			NOT = {
				has_valid_civic = civic_machine_servitor
			}
		}
		planet_is_ring_world_equivalent = yes
	}
	job_coordinator_add = $AMOUNT$
	mult = 5
}

triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_gestalt = yes
			has_active_tradition = tr_virtuality_4
			NOT = {
				has_valid_civic = civic_machine_servitor
			}
		}
		planet_is_ring_world_equivalent = yes
	}
	job_coordinator_add = $AMOUNT$
	mult = 2.5
}

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

# Planets
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			has_valid_civic = civic_machine_servitor
			is_hospitality_servitor_empire = no
		}
		planet_is_habitat_equivalent = no
		planet_is_ecu_equivalent = no
		planet_is_ring_world_equivalent = no
	}
	job_bio_trophy_add = $AMOUNT$
	mult = 5
}

# Habitats
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			has_valid_civic = civic_machine_servitor
		}
		planet_is_habitat_equivalent = yes
	}
	job_bio_trophy_add = $AMOUNT$
	mult = owner.value:hab_void_dweller_jobs_mult|MULT|5|
}

# Ecus
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			has_valid_civic = civic_machine_servitor
		}
		planet_is_ecu_equivalent = yes
	}
	job_bio_trophy_add = $AMOUNT$
	mult = 15
}

# Ringworlds
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			has_valid_civic = civic_machine_servitor
		}
		planet_is_ring_world_equivalent = yes
	}
	job_bio_trophy_add = $AMOUNT$
	mult = 25
}

# Nomads
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			has_valid_civic = civic_machine_servitor
			is_nomadic = yes
			OR = {
				NOT = { has_origin = origin_forever_cruise }
				has_country_flag = forever_cruise_over
			}
		}
	}
	job_bio_trophy_add = $AMOUNT$
}
