############################
# Exotic Fauna Farms       #
############################

#No Gestalt - Exotic Farm
building_WL_lv_exotic_farm = {
	base_buildtime = @b1_time
	planet_limit = 5
	category = resource

	building_sets = {
		farming
		society
		lv_sex_set
	}
	
	potential = {
		exists = owner
		owner = {
			is_gestalt = no
			is_lithoid_empire = no
			has_resource = { type = sr_WL_lv_exotic_fauna amount > 0 }
		}
		NOR = { 
			is_planet_class = pc_hive
			is_planet_class = pc_machine
			is_planet_class = pc_nuked 
		}
		NOT = { has_modifier = resort_colony }
	}
	
	destroy_trigger = {
		exists = owner
		owner = {
			OR = {
				is_regular_empire = no
				is_gestalt = yes
				is_lithoid_empire = yes
			}
		}
	}
	
	planet_modifier = {
		job_farmer_add = 150
		job_WL_lv_exotic_fauna_expert_add = 50
	}

	resources = {
		category = planet_buildings
		cost = {
			energy = 120
			minerals = @b1_minerals
			sr_WL_lv_exotic_fauna = 6
		}
		produces = {
			food = 2
		}	
		upkeep = {
			energy = @b1_upkeep
		}
	}
	
	prerequisites = {
	}
	
	ai_weight_coefficient = 0
}

############################
#Gestalt - Exotic Farm
############################

building_WL_lv_hive_exotic_farm = {
	base_buildtime = @b1_time
	planet_limit = 5
	category = resource

	building_sets = {
		farming
		society
		lv_sex_set
	}
	
	potential = {
		exists = owner
		owner = {
			is_gestalt = yes
			has_resource = { type = sr_WL_lv_exotic_fauna amount > 0 }
		}
		NOR = { 
			is_planet_class = pc_machine
			is_planet_class = pc_nuked 
		}
	}
	
	destroy_trigger = {
		exists = owner
		owner = {
				is_gestalt = no
		}
	}
	
	planet_modifier = {
		job_agri_drone_add = 4
	}

	resources = {
		category = planet_buildings
		cost = {
			energy = 120
			minerals = @b1_minerals
			sr_WL_lv_exotic_fauna = 6
		}
		produces = {
			food = 2
		}	
		upkeep = {
			energy = 2
		}
	}
	
	prerequisites = {
	}
	
	ai_weight_coefficient = 0
}