//Tweaks some stuff related to kerbals
//Should be compatible with Universal Storage 2 and KIS. Whether or not EVA-X and the KIS tank are successfully changed to Peroxide is untested.
@PART[kerbalEVA*]:LAST[KerbalTweaks]
{
	@crashTolerance = 35
	@maxTemp = 650
	@MODULE[kerbalEVA]
	{
		@walkSpeed = 1.0
		@strafeSpeed = 0.5
		@runSpeed = 3.5
		@splatSpeed = 40

		//Changes jetpack (KMU) to use high test peroxide instead of magic EVA fuel. brought power down quite a bit
		@propellantResourceName = OKPeroxide
		@rotPower = 0.5
		@linPower = 2
		@PropellantConsumption = 0.0625
		@helmetOffMinSafePressureAtm = 0.4
	}
	@RESOURCE[EVA?Propellant]:NEEDS[!Squad/Parts/Cargo]
	{
		//Changes resource carried by KMU
		@name = OKPeroxide
		@amount = 2
		@maxAmount = 2
	}
}

@PART[kerbalEVA*]:NEEDS[Squad/Parts/Cargo|SquadExpansion/Serenity]:LAST[KerbalTweaks]
{
	//Increases kerbal cargo capacity to 3 slots. Untested.
	@MODULE[ModuleInventoryPart]
	{
		@InventorySlots = 3
		@packedVolumeLimit = 50
		@massLimit = 0.080
	}
]

@PART[evaJetpack]:NEEDS[Squad/Parts/Cargo]:LAST[KerbalTweaks]
{
	@title = EVA Support Systems Backpack
	@description = The SSB contains life support systems, fuel, and thrusters for untethered excursions in space or on the surface of a vacuum world.
	@RESOURCE[EVA?Propellant]
	{
		//Changes resource carried by KMU
		@name = OKPeroxide
		@amount = 2
		@maxAmount = 2
	}
}

@PART[evaCylinder]:NEEDS[Squad/Parts/Cargo]
{
	//Changes visible name to both refect capacity and represent a series with the KIS tank.
	@title = EVA-3 Fuel Canister
	@RESOURCE[EVA?Propellant]
	{
		//Changes resource carried by extender tank
		@name = OKPeroxide
		@amount = 3
		@maxAmount = 3
		%isTweakable = True
	}
}

//Universal Storage 2 EVA-X
@PART[USEVAX]:NEEDS[UniversalStorage2]
{
	@RESOURCE[EVA?Propellant]
	{
		@name = OKPeroxide
		%isTweakable = True
	}
}

//KIS EVA-11 Fuel Canister
@PART[KIS_evapropellant]:NEEDS[KIS]
{
	//Changes visible name to reflect capacity
	@title = EVA-2 Fuel Canister

	//Changes manufacturer to be the same with the stock tank, Reaction Systems
	@manufacturer = #autoLOC_501639 //#autoLOC_501639 = Reaction Systems Ltd
	@RESOURCE[EVA?Propellant]
	{
		//Changes resource carried by KIS tank, makes it contain less fuel than stock extender tank (it's only 1 tank, stock is actually 2 tanks)
		@name = OKPeroxide
		@amount = 2
		@maxAmount = 2
		%isTweakable = True
	}
}