Parts/Resources/MiniDrill/MiniDrill.cfg

From Kerbal Space Program Wiki
Jump to: navigation, search
This is the configuration file for 'Drill-O-Matic Junior' Mining Excavator.
PART
{
name = MiniDrill
module = Part
author = RoverDude

mesh = MiniDrill.mu
scale = 1
rescaleFactor = 1
node_attach = .2, 0, 0, 1, 0, 0, 1


TechRequired = advScienceTech
entryCost = 3000
cost = 1000
category = Utility
subcategory = 0
title = #autoLOC_500658 //#autoLOC_500658 = Drill-O-Matic Junior' Mining Excavator
manufacturer = #autoLOC_501638 //#autoLOC_501638 = Kerbodyne
description = #autoLOC_500659 //#autoLOC_500659 = A smaller version of the popular Drill-O-Matic, this drill is designed to help extract valuable resources from the crust of planets and asteroids.  Unlike it's larger cousin, this smaller model is only suitable for ore concentrations in excess of 2.5%.  When operated by a skilled engineer, you will be able to operate with better efficiency.  These modules operate best at their ideal operating temperatures, and features auto-shutdown in the event of excessive overheating.  Radiators can be used to help manage excessive heat.
attachRules = 0,1,0,0,0

// --- standard part parameters ---
mass = 0.25
dragModelType = default
maximum_drag = 0.2
minimum_drag = 0.2
angularDrag = 2
crashTolerance = 7
maxTemp = 2000 // = 3000
bulkheadProfiles = srf
tags = #autoLOC_500660 //#autoLOC_500660 = drill extractor harvest isru mine )mining (ore resource
	MODULE
	{
		name = ModuleOverheatDisplay
	}

	MODULE
	{
		name = ModuleResourceHarvester
		HarvesterType = 0
		Efficiency = 0.3
		ResourceName = Ore
		ConverterName = #autoLOC_502038 //#autoLOC_502038 = Surface Harvester
		StartActionName = #autoLOC_502039 //#autoLOC_502039 = Start Surface Harvester
		StopActionName = #autoLOC_502040 //#autoLOC_502040 = Stop Surface Harvester
		ToggleActionName = #autoLOC_502041 //#autoLOC_502041 = Toggle Surface Harvester
		ImpactTransform = ImpactTransform
		ImpactRange = 1.08
		AutoShutdown = true
		EfficiencyBonus = 1
		GeneratesHeat = true
		INPUT_RESOURCE
		{
			ResourceName = ElectricCharge
			Ratio = 3
		}
		UseSpecialistBonus = true
		SpecialistEfficiencyFactor = 0.2
		SpecialistBonusBase = 0.05
		UseSpecialistHeatBonus = true
		SpecialistHeatFactor = 0.1
		ExperienceEffect = DrillSkill
		EfficiencyBonus = 1

		TemperatureModifier
		{
			key = 0 10000 0 0
			key = 250 5000 0 0
			key = 500 2500 0 0
			key = 750 250 0 0
			key = 1000 0 0 0
		}		

		ThermalEfficiency 
		{
			key = 0 0.1
			key = 250 .1
			key = 500 1
			key = 750 .1
			key = 1000 0
		}
		HarvestThreshold = 0.025
	}

	MODULE
	{
		name = ModuleAsteroidDrill
		DirectAttach = false
		StartActionName = #autoLOC_502042 //#autoLOC_502042 = Start Asteroid Harvester
		StopActionName = #autoLOC_502043 //#autoLOC_502043 = Stop Asteroid Harvester
		ToggleActionName = #autoLOC_502044 //#autoLOC_502044 = Toggle Asteroid Harvester
		PowerConsumption = 0.3
		Efficiency = 1
		ImpactRange = 1.5
		ImpactTransform = ImpactTransform
		AutoShutdown = true
		GeneratesHeat = true
	
		UseSpecialistBonus = true
		UseSpecialistHeatBonus = true
		SpecialistHeatFactor = 0.1
		SpecialistEfficiencyFactor = 0.2
		SpecialistBonusBase = 0.05
		ExperienceEffect = DrillSkill
		EfficiencyBonus = 1

		TemperatureModifier
		{
			key = 0 10000
			key = 250 5000
			key = 500 2500
			key = 750 250
			key = 1000 0
		}		

		ThermalEfficiency 
		{
			key = 0 0.1
			key = 250 .1
			key = 500 1
			key = 750 .1
			key = 1000 0
		}
		
	}

	MODULE
	{
		name = ModuleCometDrill
		DirectAttach = false
		StartActionName = #autoLOC_6002534 //#autoLOC_6002534 = Start Comet Harvester
		StopActionName = #autoLOC_6002535 //#autoLOC_6002535 = Stop Comet Harvester
		ToggleActionName = #autoLOC_6002536 //#autoLOC_6002536 = Toggle Comet Harvester
		PowerConsumption = 0.3
		Efficiency = 1
		ImpactRange = 1.5
		ImpactTransform = ImpactTransform
		AutoShutdown = true
		GeneratesHeat = true
	
		UseSpecialistBonus = true
		UseSpecialistHeatBonus = true
		SpecialistHeatFactor = 0.1
		SpecialistEfficiencyFactor = 0.2
		SpecialistBonusBase = 0.05
		ExperienceEffect = DrillSkill
		EfficiencyBonus = 1

		TemperatureModifier
		{
			key = 0 10000
			key = 250 5000
			key = 500 2500
			key = 750 250
			key = 1000 0
		}		

		ThermalEfficiency 
		{
			key = 0 0.1
			key = 250 .1
			key = 500 1
			key = 750 .1
			key = 1000 0
		}
		
	}

	MODULE
	{
		name = ModuleAnimationGroup
		deployAnimationName = Deploy
		activeAnimationName = Drill
		deployActionName = #autoLOC_6002384 //#autoLOC_6002384 = Deploy <<1>>
		retractActionName = #autoLOC_6002385 //#autoLOC_6002385 = Retract <<1>>
		toggleActionName = #autoLOC_6002386 //#autoLOC_6002386 = Toggle <<1>>
		moduleType = #autoLOC_7001228 //#autoLOC_7001228 = Drill		
	}	
	
	MODULE
	{
		name = ModuleCoreHeat
		CoreTempGoal = 500					//Internal temp goal - we don't transfer till we hit this point
		CoreToPartRatio = 0.1				//Scale back cooling if the part is this % of core temp
		CoreTempGoalAdjustment = 0			//Dynamic goal adjustment
		CoreEnergyMultiplier = 0.1			//What percentage of our core energy do we transfer to the part
		HeatRadiantMultiplier = 0.25		//If the core is hotter, how much heat radiates?
		CoolingRadiantMultiplier = 0		//If the core is colder, how much radiates?
		HeatTransferMultiplier = 0			//If the part is hotter, how much heat transfers in?
		CoolantTransferMultiplier = 0.01	//If the part is colder, how much of our energy can we transfer?
		radiatorCoolingFactor = 1			//How much energy we pull from core with an active radiator?  >= 1
		radiatorHeatingFactor = 0.05		//How much energy we push to the active radiator
		MaxCalculationWarp = 1000			//Based on how dramatic the changes are, this is the max rate of change
		CoreShutdownTemp = 1000				//At what core temperature do we shut down all generators on this part?
		MaxCoolant = 50						//Maximum amount of radiator capacity we can consume - 50 = 1 small
	}

	MODULE
	{
		name = ModuleCargoPart
		packedVolume = 400
	}
}