# Environmentalist Initial Setup
# Buildings Added:
#	* Ranger Lodge

if = {
	limit = {
		owner? = {
			has_valid_civic = civic_environmentalist
		}
		NOR = {
			is_planet_class = pc_city
			is_planet_class = pc_hive
			is_planet_class = pc_machine
			is_planet_class = pc_relic
			is_artificial = yes
		}
	}
	if = {
		limit = {
			owner? = {
				has_origin = origin_cybernetic_creed
			}
		}
		add_building = building_ranger_lodge
		add_blocker = { type = d_big_nature_preserve_blocker }
		every_deposit = {
			limit = {
				is_deposit_type = d_failing_infrastructure
			}
			remove_deposit = yes
			prev = { add_random_natural_blocker = yes }
		}
	}
	else = {
		add_building = {
			zone = zone_research_unity
			building = building_ranger_lodge
		}
		add_blocker = { type = d_big_nature_preserve_blocker }
		every_deposit = {
			limit = {
				is_deposit_type = d_failing_infrastructure
			}
			remove_deposit = yes
			prev = { add_random_natural_blocker = yes }
		}
	}
}
