### REGULAR EMPIRES

# Mixed Jobs
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_regular_empire = yes
			NOT = {
				has_country_flag = fallen_empire_1
			}
		}
		planet_is_habitat_equivalent = no
		planet_is_ecu_equivalent = no
		planet_is_ring_world_equivalent = no
	}
	job_physicist_add = $AMOUNT$
	job_biologist_add = $AMOUNT$
	job_engineer_add = $AMOUNT$
}

triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			has_active_tradition = tr_virtuality_4
			is_regular_empire = yes
			NOT = {
				has_country_flag = fallen_empire_1
			}
		}
		planet_is_habitat_equivalent = no
		planet_is_ecu_equivalent = no
		planet_is_ring_world_equivalent = no
	}
	job_physicist_add = $AMOUNT$
	job_biologist_add = $AMOUNT$
	job_engineer_add = $AMOUNT$
	mult = 0.5
}

triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_regular_empire = yes
			is_gestalt = no
			has_active_tradition = tr_discovery_faith_in_science
		}
		planet_is_habitat_equivalent = no
		planet_is_ecu_equivalent = no
		planet_is_ring_world_equivalent = no
	}
	job_physicist_add = $AMOUNT$
	job_biologist_add = $AMOUNT$
	job_engineer_add = $AMOUNT$
	mult = 0.2
}

# Habitats
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_regular_empire = yes
			NOT = {
				has_country_flag = fallen_empire_1
			}
		}
		planet_is_habitat_equivalent = yes
	}
	job_physicist_add = $AMOUNT$
	job_biologist_add = $AMOUNT$
	job_engineer_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
			NOT = {
				has_country_flag = fallen_empire_1
			}
		}
		planet_is_habitat_equivalent = yes
	}
	job_physicist_add = $AMOUNT$
	job_biologist_add = $AMOUNT$
	job_engineer_add = $AMOUNT$
	mult = owner.value:hab_void_dweller_virtual_jobs
}

triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_regular_empire = yes
			is_gestalt = no
			has_active_tradition = tr_discovery_faith_in_science
		}
		planet_is_habitat_equivalent = yes
	}
	job_physicist_add = $AMOUNT$
	job_biologist_add = $AMOUNT$
	job_engineer_add = $AMOUNT$
	mult = owner.value:hab_void_dweller_virtual_jobs
	mult = 0.2
}

# Ecus
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_regular_empire = yes
			NOT = {
				has_country_flag = fallen_empire_1
			}
		}
		planet_is_ecu_equivalent = yes
	}
	job_physicist_add = $AMOUNT$
	job_biologist_add = $AMOUNT$
	job_engineer_add = $AMOUNT$
	mult = 3
}

triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			has_active_tradition = tr_virtuality_4
			is_regular_empire = yes
			NOT = {
				has_country_flag = fallen_empire_1
			}
		}
		planet_is_ecu_equivalent = yes
	}
	job_physicist_add = $AMOUNT$
	job_biologist_add = $AMOUNT$
	job_engineer_add = $AMOUNT$
	mult = 1.5
}

triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_regular_empire = yes
			is_gestalt = no
			has_active_tradition = tr_discovery_faith_in_science
		}
		planet_is_ecu_equivalent = yes
	}
	job_physicist_add = $AMOUNT$
	job_biologist_add = $AMOUNT$
	job_engineer_add = $AMOUNT$
	mult = 3
	mult = 0.2
}

# Ringworld
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_regular_empire = yes
			NOT = {
				has_country_flag = fallen_empire_1
			}
		}
		planet_is_ring_world_equivalent = yes
	}
	job_physicist_add = $AMOUNT$
	job_biologist_add = $AMOUNT$
	job_engineer_add = $AMOUNT$
	mult = 5
}

triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			has_active_tradition = tr_virtuality_4
			is_regular_empire = yes
			NOT = {
				has_country_flag = fallen_empire_1
			}
		}
		planet_is_ring_world_equivalent = yes
	}
	job_physicist_add = $AMOUNT$
	job_biologist_add = $AMOUNT$
	job_engineer_add = $AMOUNT$
	mult = 2.5
}

triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_regular_empire = yes
			is_gestalt = no
			has_active_tradition = tr_discovery_faith_in_science
		}
		planet_is_ring_world_equivalent = yes
	}
	job_physicist_add = $AMOUNT$
	job_biologist_add = $AMOUNT$
	job_engineer_add = $AMOUNT$
	mult = 5
	mult = 0.2
}

# Nomads
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_regular_empire = yes
			is_nomadic = yes
		}
	}
	job_physicist_add = $AMOUNT$
	job_biologist_add = $AMOUNT$
	job_engineer_add = $AMOUNT$
}

triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_regular_empire = yes
			is_gestalt = no
			is_nomadic = yes
			has_active_tradition = tr_discovery_faith_in_science
		}
	}
	job_physicist_add = $AMOUNT$
	job_biologist_add = $AMOUNT$
	job_engineer_add = $AMOUNT$
	mult = 0.2
}

### Gestalt Empires

# Mixed Jobs
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_calculator_physicist_add = $AMOUNT$
	job_calculator_biologist_add = $AMOUNT$
	job_calculator_engineer_add = $AMOUNT$
}

# Nomads
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_gestalt = yes
			is_nomadic = yes
		}
	}
	job_calculator_physicist_add = $AMOUNT$
	job_calculator_biologist_add = $AMOUNT$
	job_calculator_engineer_add = $AMOUNT$
}

triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_gestalt = yes
			is_nomadic = yes
			has_active_tradition = tr_discovery_faith_in_science
		}
	}
	job_calculator_physicist_add = $AMOUNT$
	job_calculator_biologist_add = $AMOUNT$
	job_calculator_engineer_add = $AMOUNT$
	mult = 0.2
}

triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			has_active_tradition = tr_virtuality_4
			is_gestalt = yes
		}
		planet_is_habitat_equivalent = no
		planet_is_ecu_equivalent = no
		planet_is_ring_world_equivalent = no
	}
	job_calculator_physicist_add = $AMOUNT$
	job_calculator_biologist_add = $AMOUNT$
	job_calculator_engineer_add = $AMOUNT$
	mult = 0.5
}

triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			has_active_tradition = tr_discovery_faith_in_science
			is_gestalt = yes
		}
		planet_is_habitat_equivalent = no
		planet_is_ecu_equivalent = no
		planet_is_ring_world_equivalent = no
	}
	job_calculator_physicist_add = $AMOUNT$
	job_calculator_biologist_add = $AMOUNT$
	job_calculator_engineer_add = $AMOUNT$
	mult = 0.2
}

# Habitats
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = { is_gestalt = yes }
		planet_is_habitat_equivalent = yes
	}
	job_calculator_physicist_add = $AMOUNT$
	job_calculator_biologist_add = $AMOUNT$
	job_calculator_engineer_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
		}
		planet_is_habitat_equivalent = yes
	}
	job_calculator_physicist_add = $AMOUNT$
	job_calculator_biologist_add = $AMOUNT$
	job_calculator_engineer_add = $AMOUNT$
	mult = owner.value:hab_void_dweller_virtual_jobs
}

triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			has_active_tradition = tr_discovery_faith_in_science
			is_gestalt = yes
		}
		planet_is_habitat_equivalent = yes
	}
	job_calculator_physicist_add = $AMOUNT$
	job_calculator_biologist_add = $AMOUNT$
	job_calculator_engineer_add = $AMOUNT$
	mult = owner.value:hab_void_dweller_virtual_jobs
	mult = 0.2
}

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

triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			has_active_tradition = tr_virtuality_4
			is_gestalt = yes
		}
		planet_is_ecu_equivalent = yes
	}
	job_calculator_physicist_add = $AMOUNT$
	job_calculator_biologist_add = $AMOUNT$
	job_calculator_engineer_add = $AMOUNT$
	mult = 1.5
}

triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			has_active_tradition = tr_discovery_faith_in_science
			is_gestalt = yes
		}
		planet_is_ecu_equivalent = yes
	}
	job_calculator_physicist_add = $AMOUNT$
	job_calculator_biologist_add = $AMOUNT$
	job_calculator_engineer_add = $AMOUNT$
	mult = 3
	mult = 0.2
}

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

triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			is_gestalt = yes
			has_active_tradition = tr_virtuality_4
		}
		planet_is_ring_world_equivalent = yes
	}
	job_calculator_physicist_add = $AMOUNT$
	job_calculator_biologist_add = $AMOUNT$
	job_calculator_engineer_add = $AMOUNT$
	mult = 2.5
}

triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			has_active_tradition = tr_discovery_faith_in_science
			is_gestalt = yes
		}
		planet_is_ring_world_equivalent = yes
	}
	job_calculator_physicist_add = $AMOUNT$
	job_calculator_biologist_add = $AMOUNT$
	job_calculator_engineer_add = $AMOUNT$
	mult = 5
	mult = 0.2
}

### MATERIALIST FE

triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			has_country_flag = fallen_empire_1
		}
		planet_is_habitat_equivalent = no
		planet_is_ecu_equivalent = no
		planet_is_ring_world_equivalent = no
	}
	job_fe_archivist_add = $AMOUNT$
	job_fe_archivist_add = $AMOUNT$
	job_fe_archivist_add = $AMOUNT$
}

triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			has_active_tradition = tr_virtuality_4
			has_country_flag = fallen_empire_1
		}
		planet_is_habitat_equivalent = no
		planet_is_ecu_equivalent = no
		planet_is_ring_world_equivalent = no
	}
	job_fe_archivist_add = $AMOUNT$
	job_fe_archivist_add = $AMOUNT$
	job_fe_archivist_add = $AMOUNT$
	mult = 0.5
}

triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			has_active_tradition = tr_discovery_faith_in_science
			has_country_flag = fallen_empire_1
		}
		planet_is_habitat_equivalent = no
		planet_is_ecu_equivalent = no
		planet_is_ring_world_equivalent = no
	}
	job_fe_archivist_add = $AMOUNT$
	job_fe_archivist_add = $AMOUNT$
	job_fe_archivist_add = $AMOUNT$
	mult = 0.2
}

# Habitats
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			has_country_flag = fallen_empire_1
		}
		planet_is_habitat_equivalent = yes
	}
	job_fe_archivist_add = $AMOUNT$
	job_fe_archivist_add = $AMOUNT$
	job_fe_archivist_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
			has_country_flag = fallen_empire_1
		}
		planet_is_habitat_equivalent = yes
	}
	job_fe_archivist_add = $AMOUNT$
	job_fe_archivist_add = $AMOUNT$
	job_fe_archivist_add = $AMOUNT$
	mult = owner.value:hab_void_dweller_virtual_jobs
}

triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			has_active_tradition = tr_discovery_faith_in_science
			has_country_flag = fallen_empire_1
		}
		planet_is_habitat_equivalent = yes
	}
	job_fe_archivist_add = $AMOUNT$
	job_fe_archivist_add = $AMOUNT$
	job_fe_archivist_add = $AMOUNT$
	mult = owner.value:hab_void_dweller_virtual_jobs
	mult = 0.2
}

# Ecus
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			has_country_flag = fallen_empire_1
		}
		planet_is_ecu_equivalent = yes
	}
	job_fe_archivist_add = $AMOUNT$
	job_fe_archivist_add = $AMOUNT$
	job_fe_archivist_add = $AMOUNT$
	mult = 3
}

triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			has_active_tradition = tr_virtuality_4
			has_country_flag = fallen_empire_1
		}
		planet_is_ecu_equivalent = yes
	}
	job_fe_archivist_add = $AMOUNT$
	job_fe_archivist_add = $AMOUNT$
	job_fe_archivist_add = $AMOUNT$
	mult = 1.5
}

triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			has_active_tradition = tr_discovery_faith_in_science
			has_country_flag = fallen_empire_1
		}
		planet_is_ecu_equivalent = yes
	}
	job_fe_archivist_add = $AMOUNT$
	job_fe_archivist_add = $AMOUNT$
	job_fe_archivist_add = $AMOUNT$
	mult = 3
	mult = 0.2
}

# Ringworlds
triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			has_country_flag = fallen_empire_1
		}
		planet_is_ring_world_equivalent = yes
	}
	job_fe_archivist_add = $AMOUNT$
	job_fe_archivist_add = $AMOUNT$
	job_fe_archivist_add = $AMOUNT$
	mult = 5
}

triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			has_active_tradition = tr_virtuality_4
			has_country_flag = fallen_empire_1
		}
		planet_is_ring_world_equivalent = yes
	}
	job_fe_archivist_add = $AMOUNT$
	job_fe_archivist_add = $AMOUNT$
	job_fe_archivist_add = $AMOUNT$
	mult = 2.5
}

triggered_district_planet_modifier = {
	potential = {
		exists = owner
		owner = {
			has_active_tradition = tr_discovery_faith_in_science
			has_country_flag = fallen_empire_1
		}
		planet_is_ring_world_equivalent = yes
	}
	job_fe_archivist_add = $AMOUNT$
	job_fe_archivist_add = $AMOUNT$
	job_fe_archivist_add = $AMOUNT$
	mult = 5
	mult = 0.2
}
