@blocker_high = 10

### RUINS (if a Wilderness planet changes owner; see 'wilderness.300')

d_wilderness_mining = {
	icon = d_fungal_caves
	time = 120

	is_for_colonizable = yes
	category = deposit_cat_blockers

	potential = { always = no }

	planet_modifier = {
		planet_max_districts_add = -1
		district_mining_max_add = -1
	}

	resources = {
		category = deposit_blockers
		cost = {
			energy = 300
		}
	}

	drop_weight = {
		factor = 0
	}
}

d_wilderness_farming = {
	icon = d_infestation
	time = 120

	is_for_colonizable = yes
	category = deposit_cat_blockers

	potential = { always = no }

	planet_modifier = {
		planet_max_districts_add = -1
		district_farming_max_add = -1
	}

	resources = {
		category = deposit_blockers
		cost = {
			energy = 300
		}
	}

	drop_weight = {
		factor = 0
	}
}

d_wilderness_generator = {
	icon = d_poisonous_algae_blocker
	time = 120

	is_for_colonizable = yes
	category = deposit_cat_blockers

	potential = { always = no }

	planet_modifier = {
		planet_max_districts_add = -1
		district_generator_max_add = -1
	}

	resources = {
		category = deposit_blockers
		cost = {
			energy = 300
		}
	}

	drop_weight = {
		factor = 0
	}
}

d_wilderness_city = {
	icon = d_noxious_swamp
	time = 120

	is_for_colonizable = yes
	category = deposit_cat_blockers

	potential = { always = no }

	planet_modifier = {
		planet_max_districts_add = -2
	}

	resources = {
		category = deposit_blockers
		cost = {
			energy = 300
		}
	}

	drop_weight = {
		factor = 0
	}
}

d_wilderness_industrial = {
	icon = d_bubbling_swamp
	time = 120

	is_for_colonizable = yes
	category = deposit_cat_blockers

	potential = { always = no }

	planet_modifier = {
		planet_max_districts_add = -2
	}

	resources = {
		category = deposit_blockers
		cost = {
			energy = 300
		}
	}

	drop_weight = {
		factor = 0
	}
}

d_wilderness_mining_2 = {
	icon = d_dust_caverns
	time = 120

	is_for_colonizable = yes
	category = deposit_cat_blockers

	potential = { always = no }

	planet_modifier = {
		planet_max_districts_add = -2
		district_mining_max_add = -2
	}

	resources = {
		category = deposit_blockers
		cost = {
			energy = 500
		}
	}

	drop_weight = {
		factor = 0
	}
}

d_wilderness_farming_2 = {
	icon = d_crystal_forest
	time = 120

	is_for_colonizable = yes
	category = deposit_cat_blockers

	potential = { always = no }

	planet_modifier = {
		planet_max_districts_add = -2
		district_farming_max_add = -2
	}

	resources = {
		category = deposit_blockers
		cost = {
			energy = 500
		}
	}

	drop_weight = {
		factor = 0
	}
}

d_wilderness_generator_2 = {
	icon = d_unpleasant_atmosphere_blocker
	time = 120

	is_for_colonizable = yes
	category = deposit_cat_blockers

	potential = { always = no }

	planet_modifier = {
		planet_max_districts_add = -2
		district_generator_max_add = -2
	}

	resources = {
		category = deposit_blockers
		cost = {
			energy = 500
		}
	}

	drop_weight = {
		factor = 0
	}
}

d_wilderness_city_2 = {
	icon = d_rotten_soil_blocker
	time = 120

	is_for_colonizable = yes
	category = deposit_cat_blockers

	potential = { always = no }

	planet_modifier = {
		planet_max_districts_add = -4
	}

	resources = {
		category = deposit_blockers
		cost = {
			energy = 500
		}
	}

	drop_weight = {
		factor = 0
	}
}

d_wilderness_industrial_2 = {
	icon = d_quicksand_basin
	time = 120

	is_for_colonizable = yes
	category = deposit_cat_blockers

	potential = { always = no }

	planet_modifier = {
		planet_max_districts_add = -4
	}

	resources = {
		category = deposit_blockers
		cost = {
			energy = 500
		}
	}

	drop_weight = {
		factor = 0
	}
}

### BLOCKERS

# Invasive Thicket (via Espionage)
d_wilderness_root_blocker = {
	icon = d_fungal_forest
	time = 240

	is_for_colonizable = yes
	category = deposit_cat_blockers

	triggered_planet_modifier = {
		potential = {
			exists = owner
			owner = { is_wilderness_empire = no }
		}
		planet_farmers_food_produces_mult = -0.05
	}

	resources = {
		category = deposit_blockers
		cost = {
			energy = 500
		}
	}

	ai_weight = {
		weight = 2
	}

	drop_weight = {
		factor = 0
	}

	on_cleared = {
		hidden_effect = {
			give_bio_repurposing_reward_on_organic_deposit_cleared = yes
		}
	}
}

# Wilderness Glade Roots (via 'holding_wilderness_glade')
d_wilderness_glade_blocker = {
	icon = d_fungal_forest
	potential = { always = no }
	can_be_cleared = {
		custom_tooltip = {
			fail_text = blocker_tied_to_wilderness_glade
			always = no
		}
	}
	is_for_colonizable = yes
	category = deposit_cat_blockers

	planet_modifier = {
		planet_max_districts_add = -1
	}

	on_cleared = {
		hidden_effect = {
			give_bio_repurposing_reward_on_organic_deposit_cleared = yes
		}
	}

	drop_weight = {
		factor = 0
	}
}

d_scorched_plains = {
	icon = d_quicksand_basin
	time = 180

	is_for_colonizable = no
	category = deposit_cat_blockers

	planet_modifier = {
		planet_max_districts_add = -2
	}

	resources = {
		category = deposit_blockers_natural
		cost = {
			energy = 900
		}
	}

	drop_weight = {
		factor = 0
	}

	inline_script = deposits/ai_weight_natural_blocker
}
