@power = -75
@cost = 10
@research = 10

## Overwrite of Default Computer

utility_component_template = {
	key = "EXPLORER_COMBAT_COMPUTER_DEFAULT"
	size = small
	icon = "GFX_ship_part_computer_default"
	icon_frame = 1
	ship_behavior = "default"
	upgrade_path = default
	potential = {
		from = {
			country_uses_bio_ships = no
		}
		OR = {
			is_ship_size = explorationship
		}
	}

	show_tech_unlock_if = {
		country_uses_bio_ships = no
	}
	component_set = "combat_computers"

	ai_weight = {
		weight = 1
	}
}



utility_component_template = {
	key = "EXPLORATION_SLOT_ANOMALY_LAB"
	size = aux
	icon = "GFX_exploration_slot_anomaly_lab"
	icon_frame = 1
	prerequisites = { "tech_explorationship_1" }
	
	power = @power
	resources = {
		category = ship_components
		cost = { alloys = @cost }
	}	
	ship_modifier = { ship_anomaly_research_speed_mult = 1.5 }
	
	ship_limit = 2
	
	component_set = "EXPLORATION_SLOT_ANOMALY_LAB"
	potential = {
		ship_uses_explorer_components = yes
	}

	ai_weight = { weight = 1 }	
}

utility_component_template = {
	key = "EXPLORATION_SLOT_SURVEY_LAB"
	size = aux
	icon = "GFX_exploration_slot_survey_lab"
	icon_frame = 1
	prerequisites = { "tech_explorationship_1" }
	
	power = @power
	resources = {
		category = ship_components
		cost = { alloys = @cost }
	}
	ship_modifier = { science_ship_survey_speed = 1.5 }
	
	ship_limit = 2
	
	component_set = "EXPLORATION_SLOT_SURVEY_LAB"
	potential = {
		ship_uses_explorer_components = yes
	}

	ai_weight = { weight = 1 }	
}

utility_component_template = {
	key = "EXPLORATION_SLOT_ANALYSIS_LAB"
	size = aux
	icon = "GFX_exploration_slot_analysis_lab"
	icon_frame = 1
	prerequisites = { "tech_explorationship_1" }
	
	power = @power
	resources = {
		category = ship_components
		cost = { alloys = @cost }
	}
	ship_modifier = { ship_anomaly_generation_chance_mult = 0.50 }
	
	ship_limit = 2
	
	component_set = "EXPLORATION_SLOT_ANALYSIS_LAB"
	potential = {
		ship_uses_explorer_components = yes
	}

	ai_weight = { weight = 1 }	
}

utility_component_template = {
	key = "EXPLORATION_SLOT_DEBRIS_LAB"
	size = aux
	icon = "GFX_exploration_slot_debris_lab"
	icon_frame = 1
	prerequisites = { "tech_explorationship_1" }
	
	power = @power
	resources = {
		category = ship_components
		cost = { alloys = @cost }
	}
	
	modifier = { scavenge_debris_mult = 1.5 }
	
	ship_limit = 2
	
	component_set = "EXPLORATION_SLOT_DEBRIS_LAB"
	potential = {
		ship_uses_explorer_components = yes
	}

	ai_weight = { weight = 1 }	
}

utility_component_template = {
    key = "EXPLORATION_SLOT_PHYSICS_LAB"
    size = aux
    icon = "GFX_exploration_slot_physics_lab"
    icon_frame = 1
	prerequisites = { "tech_explorationship_3" }
	
    power = @power
	resources = {
        category = ship_components
        cost = { alloys = @cost }
    }

	ship_modifier = {
		ships_physics_research_produces_add = @research
	}

    component_set = "EXPLORATION_SLOT_PHYSICS_LAB"
	potential = {
		ship_uses_explorer_components = yes
	}

    ai_weight = { weight = 1 }
}

utility_component_template = {
	key = "EXPLORATION_SLOT_SOCIETY_LAB"
	size = aux
	icon = "GFX_exploration_slot_society_lab"
	icon_frame = 1
	prerequisites = { "tech_explorationship_3" }
	
	power = @power
	resources = {
        category = ship_components
        cost = { alloys = @cost }
    }
	
	ship_modifier = {
		ships_society_research_produces_add = @research
	}

	component_set = "EXPLORATION_SLOT_SOCIETY_LAB"
		potential = {
		ship_uses_explorer_components = yes
	}

	ai_weight = { weight = 1 }
}

utility_component_template = {
	key = "EXPLORATION_SLOT_ENGINEERING_LAB"
	size = aux
	icon = "GFX_exploration_slot_engineering_lab"
	icon_frame = 1
	prerequisites = { "tech_explorationship_3" }
	
	power = @power
	resources = {
        category = ship_components
        cost = { alloys = @cost  }
    }
	
	ship_modifier = {
		ships_engineering_research_produces_add = @research
	}
	
	component_set = "EXPLORATION_SLOT_ENGINEERING_LAB"
		potential = {
		ship_uses_explorer_components = yes
	}
	
	ai_weight = { weight = 1 }
}

utility_component_template = {
	key = "EXPLORATION_SLOT_STELLAR_CARTOGRAPHY"
	size = aux
	icon = "GFX_exploration_slot_stellar_cartography"
	icon_frame = 1
	prerequisites = { "tech_explorationship_1" }
	
	power = @power
	resources = {
		category = ship_components
		cost = { alloys = @cost }
	}
	ship_modifier = {
		ship_windup_mult = -0.90
		ship_winddown_mult = -0.90
		ship_interstellar_speed_mult = 0.50
	}
	
	ship_limit = 1
	
	component_set = "EXPLORATION_SLOT_STELLAR_CARTOGRAPHY"
		potential = {
		ship_uses_explorer_components = yes
	}

	ai_weight = { weight = 1 }	
}

utility_component_template = {
	key = "EXPLORATION_SLOT_QUANTUM_THRUSTERS"
	size = aux
	icon = "GFX_exploration_slot_quantum_thrusters"
	icon_frame = 1
	prerequisites = { "tech_explorationship_1" }
	
	power = @power
	resources = {
		category = ship_components
		cost = { alloys = @cost }
	}
	modifier = { 
		ship_speed_mult = 0.30
		ships_upkeep_mult = 0.05
	}
	
	component_set = "EXPLORATION_SLOT_QUANTUM_THRUSTERS"
		potential = {
		ship_uses_explorer_components = yes
	}
	
	ship_limit = 2

	ai_weight = { weight = 1 }	
}

utility_component_template = {
	key = "EXPLORATION_SLOT_NAVIGATIONAL_ARRAY"
	size = aux
	icon = "GFX_exploration_slot_navigational_array"
	icon_frame = 1
	prerequisites = { "tech_explorationship_2" }
	
	power = @power
	resources = {
		category = ship_components
		cost = { alloys = 60 }
	}
	
	sensor_range = 3
	hyperlane_range = 3
	
	component_set = "EXPLORATION_SLOT_NAVIGATIONAL_ARRAY"
		potential = {
		ship_uses_explorer_components = yes
	}
	
	ship_limit = 2

	ai_weight = { weight = 1 }
}

utility_component_template = {
	key = "EXPLORATION_SLOT_MINING_FACILITY"
	size = aux
	icon = "GFX_exploration_slot_mining_facility"
	icon_frame = 1
	prerequisites = { "tech_explorationship_4" }
	
	power = @power
	resources = {
		category = ship_components
		cost = { alloys = 60  }
		produces = { minerals = 7 }
		upkeep = { energy = 5 }
	}
	
	component_set = "EXPLORATION_SLOT_MINING_FACILITY"
		potential = {
		ship_uses_explorer_components = yes
	}
	
	ai_weight = { weight = 1 }
}

utility_component_template = {
	key = "EXPLORATION_SLOT_SOLAR_ARRAY"
	size = aux
	icon = "GFX_exploration_slot_solar_array"
	icon_frame = 1
	prerequisites = { "tech_explorationship_4" }
	
	power = @power
	resources = {
		category = ship_components
		cost = { alloys = 60  }
		upkeep = { minerals = 5 }
	}
	
	ship_modifier = {
		ships_energy_produces_add = 7
	}
	
	component_set = "EXPLORATION_SLOT_SOLAR_ARRAY"
		potential = {
		ship_uses_explorer_components = yes
	}
	
	ai_weight = { weight = 1 }
}

utility_component_template = {
	key = "EXPLORATION_SLOT_ALLOY_REFINERY"
	size = aux
	icon = "GFX_exploration_slot_alloy_refinery"
	icon_frame = 1
	prerequisites = { "tech_explorationship_4" }
	
	power = @power
	resources = {
		category = ship_components
		cost = { alloys = 60  }
		upkeep = {
			minerals = 3
			energy = 3 
		}
	}
	
	ship_modifier = {
		ships_alloys_produces_add = 7
	}
	
	component_set = "EXPLORATION_SLOT_ALLOY_REFINERY"
	potential = {
		ship_uses_explorer_components = yes
	}
	
	ai_weight = { weight = 1 }
}