## Possible Deposit Variables ##
# resources, resource and amount
# potential trigger (planet scope)
# blocked_modifier - applied to planet
# planet_modifier - applied to planet always
# station = station class in orbit to gather

d_ult_gestalt_infrastructure = {
	is_for_colonizable = yes
	category = deposit_cat_rare
	
	icon = d_ult_gestalt_infrastructure
	
	planet_modifier = {
		planet_housing_add = 1000
		planet_amenities_add = 5000
	}
	
	triggered_planet_modifier = {
		potential = {
		  exists = owner
		  owner = { is_gestalt = yes }
		  NOT = { is_planet_class = pc_city }
		  NOT = { is_planet_class = pc_habitat }
		  NOT = { is_planet_class = pc_ringworld_habitable }
	    }
		modifier = {
		  planet_max_districts_add = 5
		  district_mining_max_add = 20
		  district_farming_max_add = 20
		  district_generator_max_add = 20
		}
	}
	
	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = {
				is_hive_empire = yes
				is_wilderness_empire = no
			}
		}
		modifier = {
			job_synapse_drone_add = 500
		}
	}
	
	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_machine_empire = yes }
		}
		modifier = {	
			job_coordinator_add = 500
		}
	}
	
	drop_weight = {
		weight = 0
	}
} 

d_ult_utopia_infrastructure = {
	is_for_colonizable = yes
	category = deposit_cat_rare
	
	icon = d_ult_utopia_infrastructure
	
	triggered_planet_modifier = {
		potential = {
		  exists = owner
		  owner = { is_regular_empire = yes }
		  OR = {
		  	has_modifier = ult_utopia_infrastructure
			has_modifier = ult_utopia_infrastructure_ecu
		  }
		  NOT = { is_planet_class = pc_ringworld_habitable }
	    }
		modifier = {
		  planet_max_districts_add = 5
		  district_mining_max_add = 10
		  district_farming_max_add = 10
		  district_generator_max_add = 10
		}
	}
	
	triggered_planet_modifier = {
		potential = {
		  exists = owner
		  owner = { is_regular_empire = yes }
		  is_planet_class = pc_ringworld_habitable
		  OR = {
		  	has_modifier = ult_utopia_infrastructure_rw
		  }
	    }
		modifier = {	
			planet_max_districts_add = 2
		}
	}
	
	drop_weight = {
		weight = 0
	}
} 
