##################################
############ MINERALS ############
##################################
d_minerals_1 = {
	icon = d_mining_station
	resources = {
		category = orbital_mining_deposits
		produces = {
			minerals = 1
		}
	}
	station = shipclass_mining_station
	is_for_colonizable = no

	potential = {
		can_have_mineral_deposits = yes
	}

	habitat_modifier = {
		district_hab_mining_max_add = 1
	}

	drop_weight = {
		weight = 0
	}
}

d_minerals_2 = {
	icon = d_mining_station
	resources = {
		category = orbital_mining_deposits
		produces = {
			minerals = 2
		}
	}
	station = shipclass_mining_station
	is_for_colonizable = no

	potential = {
		can_have_mineral_deposits = yes
	}

	habitat_modifier = {
		district_hab_mining_max_add = 2
	}

	drop_weight = {
		weight = 5
		modifier = {
			factor = 0.5
			OR = {
				is_planet_class = pc_molten
				is_planet_class = pc_toxic
				is_planet_class = pc_frozen
			}
		}
		modifier = {
			factor = 2.0
			is_asteroid = yes
		}
	}
}

d_minerals_3 = {
	icon = d_mining_station
	resources = {
		category = orbital_mining_deposits
		produces = {
			minerals = 3
		}
	}
	station = shipclass_mining_station
	is_for_colonizable = no

	potential = {
		can_have_mineral_deposits = yes
	}

	habitat_modifier = {
		district_hab_mining_max_add = 2
	}

	drop_weight = {
		weight = 2.5
		modifier = {
			factor = 0.5
			OR = {
				is_planet_class = pc_molten
				is_planet_class = pc_toxic
				is_planet_class = pc_frozen
			}
		}
		modifier = {
			factor = 3.0
			is_asteroid = yes
		}
	}
}

d_minerals_4 = {
	icon = d_mining_station
	resources = {
		category = orbital_mining_deposits
		produces = {
			minerals = 4
		}
	}
	station = shipclass_mining_station
	is_for_colonizable = no

	potential = {
		can_have_mineral_deposits = yes
	}

	habitat_modifier = {
		district_hab_mining_max_add = 3
	}

	drop_weight = {
		weight = 1
		modifier = {
			factor = 0.5
			OR = {
				is_planet_class = pc_molten
				is_planet_class = pc_toxic
				is_planet_class = pc_frozen
			}
		}
		modifier = {
			factor = 4.0
			is_asteroid = yes
		}
	}
}

d_minerals_5 = {
	icon = d_mining_station
	resources = {
		category = orbital_mining_deposits
		produces = {
			minerals = 5
		}
	}
	station = shipclass_mining_station
	is_for_colonizable = no

	potential = {
		can_have_mineral_deposits = yes
	}

	habitat_modifier = {
		district_hab_mining_max_add = 3
	}

	drop_weight = {
		weight = 0.1
		modifier = {
			factor = 0.5
			OR = {
				is_planet_class = pc_molten
				is_planet_class = pc_toxic
				is_planet_class = pc_frozen
			}
		}
		modifier = {
			factor = 5.0
			is_asteroid = yes
		}
	}
}

d_minerals_6 = {
	icon = d_mining_station
	resources = {
		category = orbital_mining_deposits
		produces = {
			minerals = 6
		}
	}
	station = shipclass_mining_station
	is_for_colonizable = no

	potential = { always = no }

	habitat_modifier = {
		district_hab_mining_max_add = 4
	}

	drop_weight = { weight = 0 }
}

d_minerals_7 = {
	icon = d_mining_station
	resources = {
		category = orbital_mining_deposits
		produces = {
			minerals = 7
		}
	}
	station = shipclass_mining_station
	is_for_colonizable = no

	potential = { always = no }

	habitat_modifier = {
		district_hab_mining_max_add = 4
	}

	drop_weight = { weight = 0 }
}

d_minerals_8 = {
	icon = d_mining_station
	resources = {
		category = orbital_mining_deposits
		produces = {
			minerals = 8
		}
	}
	station = shipclass_mining_station
	is_for_colonizable = no

	potential = { always = no }

	habitat_modifier = {
		district_hab_mining_max_add = 5
	}

	drop_weight = { weight = 0 }
}

d_minerals_9 = {
	icon = d_mining_station
	resources = {
		category = orbital_mining_deposits
		produces = {
			minerals = 9
		}
	}
	station = shipclass_mining_station
	is_for_colonizable = no

	potential = { always = no }

	habitat_modifier = {
		district_hab_mining_max_add = 5
	}

	drop_weight = { weight = 0 }
}

d_minerals_10 = {
	icon = d_mining_station
	resources = {
		category = orbital_mining_deposits
		produces = {
			minerals = 10
		}
	}
	station = shipclass_mining_station
	is_for_colonizable = no

	potential = { always = no }

	habitat_modifier = {
		district_hab_mining_max_add = 6
	}

	drop_weight = { weight = 0 }
}

##################################
######### ENERGY CREDITS #########
##################################
d_energy_1 = {
	icon = d_binary_stars
	resources = {
		category = orbital_mining_deposits
		produces = {
			energy = 1
		}
	}
	station = shipclass_mining_station
	is_for_colonizable = no

	potential = {
		can_have_energy_deposits = yes
	}

	habitat_modifier = {
		district_hab_energy_max_add = 1
	}

	drop_weight = {
		weight = 0
	}
}

d_energy_2 = {
	icon = d_binary_stars
	resources = {
		category = orbital_mining_deposits
		produces = {
			energy = 2
		}
	}
	station = shipclass_mining_station
	is_for_colonizable = no

	potential = {
		can_have_energy_deposits = yes
	}

	habitat_modifier = {
		district_hab_energy_max_add = 2
	}

	drop_weight = {
		weight = 5
		modifier = {
			factor = 1.5
			OR = {
				is_planet_class = pc_k_star
				is_planet_class = pc_m_star
				is_planet_class = pc_m_giant_star
				is_planet_class = pc_t_star
			}
		}
		modifier = {
			factor = 1.25
			OR = {
				is_planet_class = pc_f_star
				is_planet_class = pc_g_star
			}
		}
		modifier = {
			factor = 0.5
			OR = {
				is_planet_class = pc_a_star
				is_planet_class = pc_b_star
			}
		}
		modifier = {
			factor = 2.0
			is_planet_class = pc_gas_giant
		}
	}
}

d_energy_3 = {
	icon = d_binary_stars
	resources = {
		category = orbital_mining_deposits
		produces = {
			energy = 3
		}
	}
	station = shipclass_mining_station
	is_for_colonizable = no

	potential = {
		can_have_energy_deposits = yes
	}

	habitat_modifier = {
		district_hab_energy_max_add = 2
	}

	drop_weight = {
		weight = 2.5
		modifier = {
			factor = 2
			OR = {
				is_planet_class = pc_k_star
				is_planet_class = pc_m_star
				is_planet_class = pc_m_giant_star
				is_planet_class = pc_t_star
			}
		}
		modifier = {
			factor = 1.5
			OR = {
				is_planet_class = pc_f_star
				is_planet_class = pc_g_star
			}
		}
		modifier = {
			factor = 0.5
			OR = {
				is_planet_class = pc_a_star
				is_planet_class = pc_b_star
			}
		}
		modifier = {
			factor = 2.0
			is_planet_class = pc_gas_giant
		}
	}
}

d_energy_4 = {
	icon = d_binary_stars
	resources = {
		category = orbital_mining_deposits
		produces = {
			energy = 4
		}
	}
	station = shipclass_mining_station
	is_for_colonizable = no

	potential = {
		can_have_energy_deposits = yes
	}

	habitat_modifier = {
		district_hab_energy_max_add = 3
	}

	drop_weight = {
		weight = 1
		modifier = {
			factor = 2.5
			OR = {
				is_planet_class = pc_k_star
				is_planet_class = pc_m_star
				is_planet_class = pc_m_giant_star
				is_planet_class = pc_t_star
			}
		}
		modifier = {
			factor = 1.5
			OR = {
				is_planet_class = pc_f_star
				is_planet_class = pc_g_star
			}
		}
		modifier = {
			factor = 0.5
			OR = {
				is_planet_class = pc_a_star
				is_planet_class = pc_b_star
			}
		}
		modifier = {
			factor = 2.0
			is_planet_class = pc_gas_giant
		}
	}
}

d_energy_5 = {
	icon = d_binary_stars
	resources = {
		category = orbital_mining_deposits
		produces = {
			energy = 5
		}
	}
	station = shipclass_mining_station
	is_for_colonizable = no

	potential = {
		can_have_energy_deposits = yes
	}

	habitat_modifier = {
		district_hab_energy_max_add = 3
	}

	drop_weight = {
		weight = 0.1
		modifier = {
			factor = 3
			OR = {
				is_planet_class = pc_k_star
				is_planet_class = pc_m_star
				is_planet_class = pc_m_giant_star
				is_planet_class = pc_t_star
			}
		}
		modifier = {
			factor = 1.25
			OR = {
				is_planet_class = pc_f_star
				is_planet_class = pc_g_star
			}
		}
		modifier = {
			factor = 0.5
			OR = {
				is_planet_class = pc_a_star
				is_planet_class = pc_b_star
			}
		}
		modifier = {
			factor = 2.0
			is_planet_class = pc_gas_giant
		}
	}
}

d_energy_6 = {
	icon = d_binary_stars
	resources = {
		category = orbital_mining_deposits
		produces = {
			energy = 6
		}
	}
	station = shipclass_mining_station
	is_for_colonizable = no

	potential = { always = no }

	habitat_modifier = {
		district_hab_energy_max_add = 4
	}

	drop_weight = { weight = 0 }
}

d_energy_7 = {
	icon = d_binary_stars
	resources = {
		category = orbital_mining_deposits
		produces = {
			energy = 7
		}
	}
	station = shipclass_mining_station
	is_for_colonizable = no

	potential = { always = no }

	habitat_modifier = {
		district_hab_energy_max_add = 4
	}

	drop_weight = { weight = 0 }
}

d_energy_8 = {
	icon = d_binary_stars
	resources = {
		category = orbital_mining_deposits
		produces = {
			energy = 8
		}
	}
	station = shipclass_mining_station
	is_for_colonizable = no

	potential = { always = no }

	habitat_modifier = {
		district_hab_energy_max_add = 5
	}

	drop_weight = { weight = 0 }
}

d_energy_9 = {
	icon = d_binary_stars
	resources = {
		category = orbital_mining_deposits
		produces = {
			energy = 9
		}
	}
	station = shipclass_mining_station
	is_for_colonizable = no

	potential = { always = no }

	habitat_modifier = {
		district_hab_energy_max_add = 5
	}

	drop_weight = { weight = 0 }
}

d_energy_10 = {
	icon = d_binary_stars
	resources = {
		category = orbital_mining_deposits
		produces = {
			energy = 10
		}
	}
	station = shipclass_mining_station
	is_for_colonizable = no

	potential = { always = no }

	habitat_modifier = {
		district_hab_energy_max_add = 6
	}

	drop_weight = { weight = 0 }
}

##################################
#########	SOCIETY	 #########
##################################
d_society_1 = {
	icon = "unused/d_microscopic_life"
	resources = {
		category = orbital_research_deposits
		produces = {
			society_research = 1
		}
	}
	station = shipclass_research_station
	is_for_colonizable = no

	potential = {
		can_have_society_deposits = yes
	}

	habitat_modifier = {
		district_hab_science_max_add = 1
	}

	drop_weight = {
		weight = 0
	}
}

d_society_2 = {
	icon = "unused/d_microscopic_life"
	resources = {
		category = orbital_research_deposits
		produces = {
			society_research = 2
		}
	}
	station = shipclass_research_station
	is_for_colonizable = no

	potential = {
		can_have_society_deposits = yes
	}

	habitat_modifier = {
		district_hab_science_max_add = 2
	}

	drop_weight = {
		weight = 5
	}
}

d_society_3 = {
	icon = "unused/d_microscopic_life"
	resources = {
		category = orbital_research_deposits
		produces = {
			society_research = 3
		}
	}
	station = shipclass_research_station
	is_for_colonizable = no

	potential = {
		can_have_society_deposits = yes
	}

	habitat_modifier = {
		district_hab_science_max_add = 2
	}

	drop_weight = {
		weight = 2.5
	}
}

d_society_4 = {
	icon = "unused/d_microscopic_life"
	resources = {
		category = orbital_research_deposits
		produces = {
			society_research = 4
		}
	}
	station = shipclass_research_station
	is_for_colonizable = no

	potential = {
		can_have_society_deposits = yes
	}

	habitat_modifier = {
		district_hab_science_max_add = 3
	}

	drop_weight = {
		weight = 0.5
	}
}

d_society_5 = {
	icon = "unused/d_microscopic_life"
	resources = {
		category = orbital_research_deposits
		produces = {
			society_research = 5
		}
	}
	station = shipclass_research_station
	is_for_colonizable = no

	potential = {
		can_have_society_deposits = yes
	}

	habitat_modifier = {
		district_hab_science_max_add = 3
	}

	drop_weight = {
		weight = 0.1
	}
}

d_society_6 = {
	icon = "unused/d_microscopic_life"
	resources = {
		category = orbital_research_deposits
		produces = {
			society_research = 6
		}
	}
	station = shipclass_research_station
	is_for_colonizable = no

	potential = { always = no }

	habitat_modifier = {
		district_hab_science_max_add = 4
	}

	drop_weight = { weight = 0	 }
}

d_society_7 = {
	icon = "unused/d_microscopic_life"
	resources = {
		category = orbital_research_deposits
		produces = {
			society_research = 7
		}
	}
	station = shipclass_research_station
	is_for_colonizable = no

	potential = { always = no }

	habitat_modifier = {
		district_hab_science_max_add = 4
	}

	drop_weight = { weight = 0	 }
}

d_society_8 = {
	icon = "unused/d_microscopic_life"
	resources = {
		category = orbital_research_deposits
		produces = {
			society_research = 8
		}
	}
	station = shipclass_research_station
	is_for_colonizable = no

	potential = { always = no }

	habitat_modifier = {
		district_hab_science_max_add = 5
	}

	drop_weight = { weight = 0	 }
}

d_society_9 = {
	icon = "unused/d_microscopic_life"
	resources = {
		category = orbital_research_deposits
		produces = {
			society_research = 9
		}
	}
	station = shipclass_research_station
	is_for_colonizable = no

	potential = { always = no }

	habitat_modifier = {
		district_hab_science_max_add = 5
	}

	drop_weight = { weight = 0	 }
}

d_society_10 = {
	icon = "unused/d_microscopic_life"
	resources = {
		category = orbital_research_deposits
		produces = {
			society_research = 10
		}
	}
	station = shipclass_research_station
	is_for_colonizable = no

	potential = { always = no }

	habitat_modifier = {
		district_hab_science_max_add = 6
	}

	drop_weight = { weight = 0 }
}

d_society_15 = {
	icon = "unused/d_microscopic_life"
	resources = {
		category = orbital_research_deposits
		produces = {
			society_research = 15
		}
	}
	station = shipclass_research_station
	is_for_colonizable = no

	potential = { always = no }

	habitat_modifier = {
		district_hab_science_max_add = 8
	}

	drop_weight = { weight = 0 }
}

##################################
#########	 PHYSICS	 #########
##################################
d_physics_1 = {
	icon = "unused/d_atmospheric_entry"
	resources = {
		category = orbital_research_deposits
		produces = {
			physics_research = 1
		}
	}
	station = shipclass_research_station
	is_for_colonizable = no

	potential = {
		can_have_minor_physics_deposits = yes
	}

	habitat_modifier = {
		district_hab_science_max_add = 1
	}

	drop_weight = {
		weight = 0
	}
}

d_physics_2 = {
	icon = "unused/d_atmospheric_entry"
	resources = {
		category = orbital_research_deposits
		produces = {
			physics_research = 2
		}
	}
	station = shipclass_research_station
	is_for_colonizable = no

	potential = {
		can_have_minor_physics_deposits = yes
	}

	habitat_modifier = {
		district_hab_science_max_add = 2
	}

	drop_weight = {
		weight = 1
		modifier = {
			factor = 1.5
			OR = {
				is_planet_class = pc_k_star
				is_planet_class = pc_m_star
				is_planet_class = pc_m_giant_star
				is_planet_class = pc_t_star
			}
		}
		modifier = {
			factor = 2.0
			OR = {
				is_planet_class = pc_f_star
				is_planet_class = pc_g_star
			}
		}
		modifier = {
			factor = 3.0
			OR = {
				is_planet_class = pc_a_star
				is_planet_class = pc_b_star
			}
		}
	}
}

d_physics_3 = {
	icon = "unused/d_atmospheric_entry"
	resources = {
		category = orbital_research_deposits
		produces = {
			physics_research = 3
		}
	}
	station = shipclass_research_station
	is_for_colonizable = no

	potential = {
		can_have_physics_deposits = yes
	}

	habitat_modifier = {
		district_hab_science_max_add = 2
	}

	drop_weight = {
		weight = 0.5
		modifier = {
			factor = 5.0
			OR = {
				is_planet_class = pc_neutron_star
				is_planet_class = pc_pulsar
				is_planet_class = pc_black_hole
			}
		}
		modifier = {
			factor = 1.5
			OR = {
				is_planet_class = pc_k_star
				is_planet_class = pc_m_star
				is_planet_class = pc_m_giant_star
				is_planet_class = pc_t_star
			}
		}
		modifier = {
			factor = 2.0
			OR = {
				is_planet_class = pc_f_star
				is_planet_class = pc_g_star
			}
		}
		modifier = {
			factor = 3.0
			OR = {
				is_planet_class = pc_a_star
				is_planet_class = pc_b_star
			}
		}
	}
}

d_physics_4 = {
	icon = "unused/d_atmospheric_entry"
	resources = {
		category = orbital_research_deposits
		produces = {
			physics_research = 4
		}
	}
	station = shipclass_research_station
	is_for_colonizable = no

	potential = {
		can_have_physics_deposits = yes
	}

	habitat_modifier = {
		district_hab_science_max_add = 3
	}

	drop_weight = {
		weight = 0.05
		modifier = {
			factor = 5.0
			OR = {
				is_planet_class = pc_neutron_star
				is_planet_class = pc_pulsar
				is_planet_class = pc_black_hole
			}
		}
		modifier = {
			factor = 1.5
			OR = {
				is_planet_class = pc_k_star
				is_planet_class = pc_m_star
				is_planet_class = pc_m_giant_star
				is_planet_class = pc_t_star
			}
		}
		modifier = {
			factor = 2.0
			OR = {
				is_planet_class = pc_f_star
				is_planet_class = pc_g_star
			}
		}
		modifier = {
			factor = 3.0
			OR = {
				is_planet_class = pc_a_star
				is_planet_class = pc_b_star
			}
		}
	}
}

d_physics_5 = {
	icon = "unused/d_atmospheric_entry"
	resources = {
		category = orbital_research_deposits
		produces = {
			physics_research = 5
		}
	}
	station = shipclass_research_station
	is_for_colonizable = no

	potential = {
		can_have_physics_deposits = yes
	}

	habitat_modifier = {
		district_hab_science_max_add = 3
	}

	drop_weight = {
		weight = 0.01
		modifier = {
			factor = 5.0
			OR = {
				is_planet_class = pc_neutron_star
				is_planet_class = pc_pulsar
				is_planet_class = pc_black_hole
			}
		}
		modifier = {
			factor = 1.5
			OR = {
				is_planet_class = pc_k_star
				is_planet_class = pc_m_star
				is_planet_class = pc_m_giant_star
				is_planet_class = pc_t_star
			}
		}
		modifier = {
			factor = 2.0
			OR = {
				is_planet_class = pc_f_star
				is_planet_class = pc_g_star
			}
		}
		modifier = {
			factor = 3.0
			OR = {
				is_planet_class = pc_a_star
				is_planet_class = pc_b_star
			}
		}
	}
}

d_physics_6 = {
	icon = "unused/d_atmospheric_entry"
	resources = {
		category = orbital_research_deposits
		produces = {
			physics_research = 6
		}
	}
	station = shipclass_research_station
	is_for_colonizable = no

	potential = { always = no }

	habitat_modifier = {
		district_hab_science_max_add = 4
	}

	drop_weight = { weight = 0 }
}

d_physics_7 = {
	icon = "unused/d_atmospheric_entry"
	resources = {
		category = orbital_research_deposits
		produces = {
			physics_research = 7
		}
	}
	station = shipclass_research_station
	is_for_colonizable = no

	potential = { always = no }

	habitat_modifier = {
		district_hab_science_max_add = 4
	}

	drop_weight = { weight = 0 }
}

d_physics_8 = {
	icon = "unused/d_atmospheric_entry"
	resources = {
		category = orbital_research_deposits
		produces = {
			physics_research = 8
		}
	}
	station = shipclass_research_station
	is_for_colonizable = no

	potential = { always = no }

	habitat_modifier = {
		district_hab_science_max_add = 5
	}

	drop_weight = { weight = 0 }
}

d_physics_9 = {
	icon = "unused/d_atmospheric_entry"
	resources = {
		category = orbital_research_deposits
		produces = {
			physics_research = 9
		}
	}
	station = shipclass_research_station
	is_for_colonizable = no

	potential = { always = no }

	habitat_modifier = {
		district_hab_science_max_add = 5
	}

	drop_weight = { weight = 0 }
}

d_physics_10 = {
	icon = "unused/d_atmospheric_entry"
	resources = {
		category = orbital_research_deposits
		produces = {
			physics_research = 10
		}
	}
	station = shipclass_research_station
	is_for_colonizable = no

	potential = { always = no }

	habitat_modifier = {
		district_hab_science_max_add = 6
	}

	drop_weight = { weight = 0 }
}

##################################
######### ENGINEERING	#########
##################################
d_engineering_1 = {
	icon = d_engineering_research
	resources = {
		category = orbital_research_deposits
		produces = {
			engineering_research = 1
		}
	}
	station = shipclass_research_station
	is_for_colonizable = no

	potential = {
		can_have_minor_engineering_deposits = yes
	}

	habitat_modifier = {
		district_hab_science_max_add = 1
	}

	drop_weight = {
		weight = 0
	}
}

d_engineering_2 = {
	icon = d_engineering_research
	resources = {
		category = orbital_research_deposits
		produces = {
			engineering_research = 2
		}
	}
	station = shipclass_research_station
	is_for_colonizable = no

	potential = {
		can_have_minor_engineering_deposits = yes
	}

	habitat_modifier = {
		district_hab_science_max_add = 2
	}

	drop_weight = {
		weight = 2
	}
}

d_engineering_3 = {
	icon = d_engineering_research
	resources = {
		category = orbital_research_deposits
		produces = {
			engineering_research = 3
		}
	}
	station = shipclass_research_station
	is_for_colonizable = no

	potential = {
		can_have_engineering_deposits = yes
	}

	habitat_modifier = {
		district_hab_science_max_add = 2
	}

	drop_weight = {
		weight = 1
		modifier = {
			factor = 5.0
			OR = {
				is_planet_class = pc_neutron_star
				is_planet_class = pc_pulsar
				is_planet_class = pc_black_hole
			}
		}
	}
}

d_engineering_4 = {
	icon = d_engineering_research
	resources = {
		category = orbital_research_deposits
		produces = {
			engineering_research = 4
		}
	}
	station = shipclass_research_station
	is_for_colonizable = no

	potential = {
		can_have_engineering_deposits = yes
	}

	habitat_modifier = {
		district_hab_science_max_add = 3
	}

	drop_weight = {
		weight = 0.2
		modifier = {
			factor = 5.0
			OR = {
				is_planet_class = pc_neutron_star
				is_planet_class = pc_pulsar
				is_planet_class = pc_black_hole
			}
		}
	}
}

d_engineering_5 = {
	icon = d_engineering_research
	resources = {
		category = orbital_research_deposits
		produces = {
			engineering_research = 5
		}
	}
	station = shipclass_research_station
	is_for_colonizable = no

	potential = {
		can_have_engineering_deposits = yes
	}

	habitat_modifier = {
		district_hab_science_max_add = 3
	}

	drop_weight = {
		weight = 0.05
		modifier = {
			factor = 5.0
			OR = {
				is_planet_class = pc_neutron_star
				is_planet_class = pc_pulsar
				is_planet_class = pc_black_hole
			}
		}
	}
}

d_engineering_6 = {
	icon = d_engineering_research
	resources = {
		category = orbital_research_deposits
		produces = {
			engineering_research = 6
		}
	}
	station = shipclass_research_station
	is_for_colonizable = no

	potential = { always = no }

	habitat_modifier = {
		district_hab_science_max_add = 4
	}

	drop_weight = { weight = 0 }
}

d_engineering_7 = {
	icon = d_engineering_research
	resources = {
		category = orbital_research_deposits
		produces = {
			engineering_research = 7
		}
	}
	station = shipclass_research_station
	is_for_colonizable = no

	potential = { always = no }

	habitat_modifier = {
		district_hab_science_max_add = 4
	}

	drop_weight = { weight = 0 }
}

d_engineering_8 = {
	icon = d_engineering_research
	resources = {
		category = orbital_research_deposits
		produces = {
			engineering_research = 8
		}
	}
	station = shipclass_research_station
	is_for_colonizable = no

	potential = { always = no }

	habitat_modifier = {
		district_hab_science_max_add = 5
	}

	drop_weight = { weight = 0 }
}

d_engineering_9 = {
	icon = d_engineering_research
	resources = {
		category = orbital_research_deposits
		produces = {
			engineering_research = 9
		}
	}
	station = shipclass_research_station
	is_for_colonizable = no

	potential = { always = no }

	habitat_modifier = {
		district_hab_science_max_add = 5
	}

	drop_weight = { weight = 0 }
}

d_engineering_10 = {
	icon = d_engineering_research
	resources = {
		category = orbital_research_deposits
		produces = {
			engineering_research = 10
		}
	}
	station = shipclass_research_station
	is_for_colonizable = no

	potential = { always = no }

	habitat_modifier = {
		district_hab_science_max_add = 6
	}

	drop_weight = { weight = 0 }
}

##################################
######### TRADE VALUE	#########
##################################
d_trade_value_1 = {
	icon = "unused/d_strategic_resources"
	is_for_colonizable = no

	resources = {
		category = orbital_mining_deposits
		produces = {
			trade = 1
		}
	}
	station = shipclass_mining_station
	potential = {
		can_have_trade_deposits = yes
	}

	drop_weight = {
		weight = 0
	}
}

d_trade_value_2 = {
	icon = "unused/d_strategic_resources"
	is_for_colonizable = no

	resources = {
		category = orbital_mining_deposits
		produces = {
			trade = 2
		}
	}
	station = shipclass_mining_station
	potential = {
		can_have_trade_deposits = yes
	}

	drop_weight = {
		weight = 5
		modifier = {
			factor = 0.5
			is_planet_class = pc_molten
		}
		modifier = {
			factor = 2.0
			is_asteroid = yes
		}
	}
}

d_trade_value_3 = {
	icon = "unused/d_strategic_resources"
	is_for_colonizable = no

	resources = {
		category = orbital_mining_deposits
		produces = {
			trade = 3
		}
	}
	station = shipclass_mining_station
	potential = {
		can_have_trade_deposits = yes
	}

	drop_weight = {
		weight = 2.5
		modifier = {
			factor = 0.5
			is_planet_class = pc_molten
		}
		modifier = {
			factor = 2.0
			is_asteroid = yes
		}
	}
}

d_trade_value_4 = {
	icon = "unused/d_strategic_resources"
	is_for_colonizable = no

	resources = {
		category = orbital_mining_deposits
		produces = {
			trade = 4
		}
	}
	station = shipclass_mining_station
	potential = {
		can_have_trade_deposits = yes
	}

	drop_weight = {
		weight = 1
		modifier = {
			factor = 0.5
			is_planet_class = pc_molten
		}
		modifier = {
			factor = 2.0
			is_asteroid = yes
		}
	}
}

d_trade_value_5 = {
	icon = "unused/d_strategic_resources"
	is_for_colonizable = no

	resources = {
		category = orbital_mining_deposits
		produces = {
			trade = 5
		}
	}
	station = shipclass_mining_station
	potential = {
		can_have_trade_deposits = yes
	}

	drop_weight = {
		weight = 0.1
		modifier = {
			factor = 0.5
			is_planet_class = pc_molten
		}
		modifier = {
			factor = 2.0
			is_asteroid = yes
		}
	}
}

d_trade_value_6 = {
	icon = "unused/d_strategic_resources"
	is_for_colonizable = no

	resources = {
		category = orbital_mining_deposits
		produces = {
			trade = 6
		}
	}
	station = shipclass_mining_station
	potential = { always = no }
	drop_weight = { weight = 0 }
}

d_trade_value_7 = {
	icon = "unused/d_strategic_resources"
	is_for_colonizable = no

	resources = {
		category = orbital_mining_deposits
		produces = {
			trade = 7
		}
	}
	station = shipclass_mining_station
	potential = { always = no }
	drop_weight = { weight = 0 }
}

d_trade_value_8 = {
	icon = "unused/d_strategic_resources"
	is_for_colonizable = no

	resources = {
		category = orbital_mining_deposits
		produces = {
			trade = 8
		}
	}
	station = shipclass_mining_station
	potential = { always = no }
	drop_weight = { weight = 0 }
}

d_trade_value_9 = {
	icon = "unused/d_strategic_resources"
	is_for_colonizable = no

	resources = {
		category = orbital_mining_deposits
		produces = {
			trade = 9
		}
	}
	station = shipclass_mining_station
	potential = { always = no }
	drop_weight = { weight = 0 }
}

d_trade_value_10 = {
	icon = "unused/d_strategic_resources"
	is_for_colonizable = no

	resources = {
		category = orbital_mining_deposits
		produces = {
			trade = 10
		}
	}
	station = shipclass_mining_station
	potential = { always = no }
	drop_weight = { weight = 0 }
}

##################################
#########	 ALLOYS	 #########
##################################

d_alloys_1 = {
	icon = "unused/d_ruined_system"
	station = shipclass_mining_station
	is_for_colonizable = no

	resources = {
		category = orbital_mining_deposits
		produces = {
			alloys = 1
		}
	}
	potential = {
		can_have_alloys_deposits = yes
	}

	drop_weight = {
		weight = 2
		modifier = {
			factor = 1.5
			is_inside_nebula = yes
		}
	}
}

d_alloys_2 = {
	icon = "unused/d_ruined_system"
	station = shipclass_mining_station
	is_for_colonizable = no

	resources = {
		category = orbital_mining_deposits
		produces = {
			alloys = 2
		}
	}

	potential = {
		can_have_alloys_deposits = yes
	}

	drop_weight = {
		weight = 0.50
		modifier = {
			factor = 1.5
			is_inside_nebula = yes
		}
	}
}

d_alloys_3 = {
	icon = "unused/d_ruined_system"
	station = shipclass_mining_station
	is_for_colonizable = no

	resources = {
		category = orbital_mining_deposits
		produces = {
			alloys = 3
		}
	}

	potential = {
		is_planet_class = pc_junk
	}
	drop_weight = { weight = 0 }
}

d_alloys_4 = {
	icon = "unused/d_ruined_system"
	station = shipclass_mining_station
	is_for_colonizable = no

	resources = {
		category = orbital_mining_deposits
		produces = {
			alloys = 4
		}
	}

	potential = {
		is_planet_class = pc_junk
	}
	drop_weight = { weight = 0 }
}

d_alloys_5 = {
	icon = "unused/d_ruined_system"
	station = shipclass_mining_station
	is_for_colonizable = no

	resources = {
		category = orbital_mining_deposits
		produces = {
			alloys = 5
		}
	}

	potential = {
		is_planet_class = pc_junk
	}
	drop_weight = { weight = 0 }
}

d_alloys_10 = {
	icon = "unused/d_ruined_system"
	station = shipclass_mining_station
	is_for_colonizable = no

	resources = {
		category = orbital_mining_deposits
		produces = {
			alloys = 10
		}
	}

	potential = {
		is_planet_class = pc_junk
	}
	drop_weight = { weight = 0 }
}

d_alloys_25 = {
	icon = "unused/d_ruined_system"
	station = shipclass_mining_station
	is_for_colonizable = no

	resources = {
		category = orbital_mining_deposits
		produces = {
			alloys = 25
		}
	}

	potential = {
		is_planet_class = pc_junk
	}
	drop_weight = { weight = 0 }
}

##################################
#########	 FOOD	  ############
##################################

d_food_3 = {
	station = shipclass_mining_station
	is_for_colonizable = no

	resources = {
		category = orbital_mining_deposits
		produces = {
			food = 3
		}
	}

	potential = {
		can_have_food_deposits = yes
	}
	drop_weight = {
		weight = 0
		modifier = {
			weight = 0.1
			is_inside_nebula = yes
		}
	}
}

d_food_4 = {
	station = shipclass_mining_station
	is_for_colonizable = no

	resources = {
		category = orbital_mining_deposits
		produces = {
			food = 4
		}
	}

	potential = { always = no }
	drop_weight = { weight = 0 }
}

d_food_5 = {
	station = shipclass_mining_station
	is_for_colonizable = no

	resources = {
		category = orbital_mining_deposits
		produces = {
			food = 5
		}
	}

	potential = { always = no }
	drop_weight = { weight = 0 }
}

d_food_6 = {
	station = shipclass_mining_station
	is_for_colonizable = no

	resources = {
		category = orbital_mining_deposits
		produces = {
			food = 6
		}
	}

	potential = { always = no }
	drop_weight = { weight = 0 }
}

d_food_7 = {
	station = shipclass_mining_station
	is_for_colonizable = no

	resources = {
		category = orbital_mining_deposits
		produces = {
			food = 7
		}
	}

	potential = { always = no }
	drop_weight = { weight = 0 }
}

d_food_10 = {
	station = shipclass_mining_station
	is_for_colonizable = no

	resources = {
		category = orbital_mining_deposits
		produces = {
			food = 10
		}
	}

	potential = { always = no }
	drop_weight = { weight = 0 }
}
#### Obsessional Directive
d_consumer_goods_obsessional_directive = {
	icon = "unused/d_strategic_resources"
	station = shipclass_mining_station
	is_for_colonizable = no

	resources = {
		category = orbital_mining_deposits
		produces = {
			consumer_goods = 2
		}
	}

	potential = { always = no }
	drop_weight = { weight = 0 }
}
