# EXPEDITIONS

decision_planet_WL_lv_solo_expedition = {		
	sound = event_swarm_started
	icon = decision_planet_WL_lv_solo_expedition

	resources = {
		category = decisions
		cost = {
			influence = 12
			energy = 100
			food = 50
		}
	}
	
	potential = {
		is_star = no
		habitable_structure = no
		is_ringworld = no

		NOT = { exists = owner }
		exists = space_owner
		space_owner = {
			is_same_value = FROM
			NOT = { has_country_flag = SYSTEM_wl_hidden_zoo_decisions }
		}
		
		NOR = {
			is_planet_class = pc_gas_giant
			is_planet_class = pc_asteroid
			is_planet_class = pc_rare_crystal_asteroid
			is_planet_class = pc_ice_asteroid
			is_planet_class = pc_molten
			is_planet_class = pc_barren
			is_planet_class = pc_barren_cold
			is_planet_class = pc_toxic
			is_planet_class = pc_frozen
			is_planet_class = pc_ai
			is_planet_class = pc_shielded
			is_planet_class = pc_infested
			is_planet_class = pc_cybrex
			is_planet_class = pc_gray_goo
			is_planet_class = pc_egg_cracked
			is_planet_class = pc_habitat_shielded
			is_planet_class = pc_ringworld_shielded
			is_planet_class = pc_crystal_asteroid
			is_planet_class = pc_city
			is_planet_class = pc_machine
		}
	}
	
	allow = {
		NOR = {
			exists = owner
			has_modifier = WL_lv_recently_authorized_leader_landing
		}
		AND = {
			exists = space_owner
			OR = {
				space_owner = {
					OR = {
						has_civic = civic_WL_lv_bestial_hedonism
						has_civic = civic_WL_lv_zoophilic_rituals
						has_civic = civic_WL_lv_ecosynchronism
						has_civic = civic_WL_lv_animal_traffickers
						has_civic = civic_WL_lv_animal_keeping
						has_ethic = ethic_pacifist
						has_ethic = ethic_fanatic_pacifist
						has_ethic = ethic_xenophile
						has_ethic = ethic_fanatic_xenophile
					}
				}
				any_fleet_in_orbit = {
					leader = {
						leader_class = scientist
						OR = {
							has_trait = leader_trait_scientist_lv_zoophile
							has_trait = leader_trait_adaptable	
							has_trait = leader_trait_carefree
							has_trait = leader_trait_maniacal
							has_trait = leader_trait_roamer
							has_trait = leader_trait_expertise_biology
							has_trait = leader_trait_cataloger
						}
					}
				}
			}
		}
	}
	
	effect = {
		enable_special_project = {
			name =	"WL_LV_EXPEDITION_PROJECT"
			location = this
			owner = FROM
		}
		hidden_effect = {
			add_modifier = { modifier = "WL_lv_recently_authorized_leader_landing" days = 720 }
			FROM = {
				set_country_flag = WL_lv_ongoing_exploration
				country_event = { id = WL_lv_decision_solo_expedition_events.3000 }
			}
		}
	}
	
	ai_weight = { 
		weight = 0
	}
}