d_coagulated_landscape = {
	icon = d_coagulated_landscape
	category = deposit_cat_blockers

	potential = { always = no }

	can_be_cleared = { always = no }

	drop_weight = {
		factor = 0
	}

	planet_modifier = {
		planet_max_districts_add = -2
	}
}

d_shimmering_structure = {
	icon = d_shimmering_structure
	category = deposit_cat_blockers

	potential = { always = no }

	can_be_cleared = { always = no }

	drop_weight = {
		factor = 0
	}

	planet_modifier = {
		planet_max_districts_add = -1
	}
}

d_geothermal_hotspot = {
	icon = d_geothermal_vent
	category = deposit_cat_energy

	drop_weight = {
		factor = 0
	}

	planet_modifier = {
		district_generator_max_add = 2
		planet_technician_physics_research_produces_add = 0.5
		planet_technician_energy_produces_mult = 0.15
	}
}

d_ancient_cloaking_array = {
	icon = d_shimmering_structure
	category = deposit_cat_rare

	potential = { always = no }

	drop_weight = {
		factor = 0
	}

	planet_modifier = {
		planet_orbital_bombardment_damage = -0.5
		pop_happiness = 0.05
	}
}

d_psionic_sands = {
	icon = d_psionic_sands
	category = deposit_cat_rare

	potential = { always = no }

	drop_weight = {
		factor = 0
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = {
				is_gestalt = yes
				is_machine_empire = no
			}
		}
		modifier = {
			job_drone_sand_whisperer_add = 400
		}
	}
	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = {
				is_gestalt = yes
				is_machine_empire = yes
			}
		}
		modifier = {
			job_drone_sand_caretaker_add = 400
		}
	}
	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = {
				is_gestalt = no
				is_machine_empire = no
			}
		}
		modifier = {
			job_sand_whisperer_add = 400
		}
	}
	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = {
				is_gestalt = no
				is_machine_empire = yes
			}
		}
		modifier = {
			job_sand_caretaker_add = 400
		}
	}
}

d_lava_tubes = {
	icon = d_lava_tubes
	category = deposit_cat_rare

	potential = { always = no }

	# custom_tooltip = d_lava_tubes_ct
	# custom_tooltip_short = d_lava_tubes_ct_short

	drop_weight = {
		factor = 0
	}

	planet_modifier = {
		planet_miners_minerals_produces_add = 3
		planet_miners_energy_upkeep_add = @lava_tubes_mining_job_upkeep
		district_mining_max_add = 3
	}
}

d_hydroactive_eggs = {
	icon = d_hydroactive_eggs
	category = deposit_cat_rare

	drop_weight = {
		factor = 0
	}

	planet_modifier = {
		planet_jobs_food_produces_mult = 0.3
		planet_jobs_society_research_produces_mult = 0.15
	}
}

d_mountains_of_steel = {
	icon = d_mineral_striations
	category = deposit_cat_rare

	drop_weight = {
		factor = 0
	}

	planet_modifier = {
		planet_jobs_minerals_produces_mult = 0.15
		planet_jobs_alloys_produces_mult = 0.15
		planet_max_districts_add = -2
	}
}

d_explosive_atmosphere = {
	icon = d_explosive_atmosphere
	category = deposit_cat_rare

	drop_weight = {
		factor = 0
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = {
				has_technology = tech_mine_volatile_motes
			}
		}
		planet_technician_volatile_motes_produces_add = @SR_SMALL
	}

	planet_modifier = {
		logistic_growth_mult = -0.1
		planet_orbital_bombardment_damage = 0.25
		army_collateral_damage_mult = 0.5
		district_generator_max_add = @DISTRICTS_FROM_SR_DEPOSITS_SMALL
	}
}

d_blue_lava = {
	icon = d_blue_lava
	category = deposit_cat_rare

	planet_modifier = {
		pop_environment_tolerance = -0.10
		planet_max_districts_add = -2
	}

	drop_weight = {
		factor = 0
	}

	resources = {
		produces = {
			alloys = 5
			exotic_gases = 3
		}
	}
}

d_crystaline_growths = {
	icon = d_veiny_cliffs
	category = deposit_cat_rare

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = {
				has_technology = tech_mine_rare_crystals
			}
		}
		planet_miners_rare_crystals_produces_add = @SR_SMALL
	}

	planet_modifier = {
		district_mining_max_add = @DISTRICTS_FROM_SR_DEPOSITS_SMALL
	}

	drop_weight = {
		factor = 0
	}

	resources = {
		produces = {
			rare_crystals = 2
		}
	}
}

d_bogplants = {
	icon = d_bogplants
	category = deposit_cat_rare

	drop_weight = {
		factor = 0
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = {
				has_technology = tech_mine_exotic_gases
			}
		}
		planet_farmers_exotic_gases_produces_add = @SR_SMALL
	}

	planet_modifier = {
		planet_jobs_society_research_produces_mult = 0.1
		district_farming_max_add = @DISTRICTS_FROM_SR_DEPOSITS_SMALL
	}
}

d_liquid_dark_matter = {
	icon = d_liquid_dark_matter
	category = deposit_cat_rare

	drop_weight = {
		factor = 0
	}

	planet_modifier = {
		planet_jobs_physics_research_produces_mult = 0.1
		planet_max_districts_add = 1
	}

	resources = {
		produces = {
			sr_dark_matter = 2
		}
	}
}

d_space_junk_hazards = {
	icon = d_ruined_system
	potential = { always = no }

	drop_weight = {
		factor = 0
	}

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = {
				is_gestalt = yes
			}
		}
		modifier = {
			job_drone_space_junk_collector_add = 400
		}
	}
	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = {
				is_gestalt = no
			}
		}
		modifier = {
			job_space_junk_collector_add = 400
		}
	}
}
