
############################
##EXOTIC FAUNA SEARCH
############################
decision_planet_WL_lv_exotic_fauna_search = {	
	owned_planets_only = yes
	sound = event_swarm_started
	icon = decision_planet_WL_lv_exotic_fauna_searh
	
	resources = {
		category = decisions
		cost = {
			energy = 40
			food = 25
			influence = 6
		}
	}
	
	potential = {
		exists = owner
		owner ={
			is_ai = no
		}
		NOR = {
			owner = { has_country_flag = SYSTEM_wl_hidden_exotic_fauna_decisions }
			owner = { has_civic = civic_fanatic_purifiers} 
			owner = { has_civic = civic_machine_terminator}
			owner = { has_civic = civic_hive_devouring_swarm}
			is_planet_class = pc_city
			is_planet_class = pc_machine
			is_planet_class = pc_relic
			is_planet_class = pc_hive
			is_planet_class = pc_nuked
			is_planet_class = pc_habitat
		}
		habitable_structure = no
		is_ringworld = no
	}
	
	allow = {
		NOR = {
			has_modifier = WL_lv_recovering_from_an_expedition 
			has_modifier = WL_lv_searching_exotic_fauna 
		}
	}	
	
	effect = {
		add_modifier = { modifier = "WL_lv_searching_exotic_fauna" days = 370 }
		hidden_effect = {
			planet_event = { id = WL_lv_decision_events.105 }
		}
		owner  = {
			set_country_flag = WL_lv_working_expedition
		}
	}
	
	ai_weight = { 
		weight = 0
	}
}


############################
#Exotic Parade
############################

decision_planet_WL_lv_exotic_fauna_parade = {		
	owned_planets_only = yes
	sound = event_swarm_started
	icon = decision_planet_WL_lv_exotic_fauna_parade
	
	resources = {
		category = decisions
		cost = {
			sr_WL_lv_exotic_fauna = 6
			food = 250
			influence = 10
		}
	}

	potential = {
		exists = owner
		owner ={
			is_ai = no
			has_country_resource = { type = sr_WL_lv_exotic_fauna amount > 0 }
		}
		NOR = {
			owner = { has_country_flag = SYSTEM_wl_hidden_exotic_fauna_decisions }
			owner = { has_ethic = ethic_gestalt_consciousness} 
			owner = { has_civic = civic_fanatic_purifiers} 
			owner = { has_civic = civic_machine_terminator}
			owner = { has_civic = civic_hive_devouring_swarm}
		}
	}
	
	effect = {
		add_modifier = { modifier = "WL_lv_exotic_fauna_parade_planet" days = 1800 }
		planet_event = { id = WL_lv_decision_events.202  } #Notification event
	}
	
	ai_weight = { 
		weight = 0
	}
}

############################
#Exotic Fauna Police
############################

decision_planet_WL_lv_trained_fauna_security_department = {		
	owned_planets_only = yes
	sound = event_swarm_started
	icon = decision_planet_WL_lv_trained_fauna_security_department

	prerequisites = {	"tech_dangerous_wildlife" }

	resources = {
		category = decisions
		cost = {
			sr_WL_lv_exotic_fauna = 8
			influence = 10
			energy = 100
			food = 100
		}
	}
	
	potential = {
		exists = owner
		owner = {
			is_ai = no
			has_country_resource = { type = sr_WL_lv_exotic_fauna amount > 0 }
		}
		NOR = {
			owner = { has_country_flag = SYSTEM_wl_hidden_exotic_fauna_decisions }
			owner = { has_civic = civic_fanatic_purifiers } 
			owner = { has_civic = civic_machine_terminator }
			owner = { has_civic = civic_hive_devouring_swarm }
			has_modifier = WL_lv_trained_fauna_security_department_planet
		}
	}

	allow = {
		NOT = { has_modifier = WL_lv_trained_fauna_security_department_planet }
	}	
	
	effect = {
		add_modifier = { modifier = "WL_lv_trained_fauna_security_department_planet" days = 3600 }
		planet_event = { id = WL_lv_decision_events.201  } #Notification event
	}
	
	ai_weight = { 
		weight = 0
	}
}


############################
#Hostile Fauna Management
############################

decision_planet_WL_lv_hostile_fauna_management = {	
	owned_planets_only = yes
	sound = event_swarm_started
	icon = decision_planet_WL_lv_hostile_fauna_management

	prerequisites = {	"tech_dangerous_wildlife" }
	
	resources = {
		category = decisions
		cost = {
			sr_WL_lv_exotic_fauna = 10
			energy = 250
			food = 250
		}
	}
	
	potential = {
		exists = owner
		owner ={
			is_ai = no
			has_country_resource = { type = sr_WL_lv_exotic_fauna amount > 0 }
		}
		NOR = {
			owner = { has_country_flag = SYSTEM_wl_hidden_exotic_fauna_decisions }
			owner = { has_civic = civic_fanatic_purifiers } 
			owner = { has_civic = civic_machine_terminator }
			owner = { has_civic = civic_hive_devouring_swarm }
			has_modifier = WL_lv_controlled_wildlife_planet
		}
		OR = { 
			has_modifier = hostile_animal_life 
			has_modifier = dangerous_wildlife 
		}
	}
	
	allow = {
		NOT = { has_modifier = WL_lv_controlled_wildlife_planet }
	}	
	
	effect = {
		add_modifier = { modifier = "WL_lv_controlled_wildlife_planet" days = -1 }
		planet_event = { id = WL_lv_decision_events.200  } #Notification event
	}
	
	ai_weight = { 
		weight = 0
	}
}
