PART
{
	name = Benjee10_MMSEV_baseHDU_hab
	module = Part
	author = Benjee10

	TechRequired = advExploration
	entryCost = 18000
	cost = 7500
	category = Utility
	subcategory = 0
	title = PT-3B Habitation Module
	manufacturer = Planetside Space Technologies
	description =  This spacious pressurised module provides ample room for crew to live, work and sleep. Large clusters of windows make for excellent views!
	attachRules = 1,0,1,1,0
	mass = 5
	vesselType = Base
	
	dragModelType = default
	maximum_drag = 0.20
	minimum_drag = 0.15
	angularDrag = 2
	crashTolerance = 45
	
	CrewCapacity = 6

	maxTemp = 1400
	skinMaxTemp = 1400
	
	bulkheadProfiles = size3, size1
	tags = mmsev planetside hab base outpost hdu module habitat live dorm sleep

	INTERNAL
	{
		name = Benjee10_MMSEV_base_HDU_hab_IVA
	} 

	MODEL 
	{
		model = Benjee10_MMSEV/Parts/base_HDU_hab
	}
	scale = 1
	rescaleFactor = 1

	NODE
	{
		name = node_stack_bottom
		transform = bottomNode
		size = 3
	}

	NODE
	{
		name = node_stack_top
		transform = topNode
		size = 3
	}

	MODULE
	{
		name = ModuleColorChanger
		shaderProperty = _EmissiveColor
		animRate = 0.8
		animState = false
		useRate = true
		toggleInEditor = true
		toggleInFlight = true
		toggleInFlight = true
		unfocusedRange = 5
		toggleName = Toggle Lights
		eventOnName = #autoLOC_6001409 	//#autoLOC_6001409 = Lights On
		eventOffName = #autoLOC_6001408 	//#autoLOC_6001408 = Lights Off
		toggleAction = True
		defaultActionGroup = Light
		redCurve
		{
			key = 0 0 0 3
			key = 1 1 0 0
		}
		greenCurve
		{
			key = 0 0 0 1
			key = 1 1 1 0
		}
		blueCurve
		{
			key = 0 0 0 0
			key = 1 0.7 1.5 0
		}
		alphaCurve
		{
			key = 0 1
		}
	}

	RESOURCE
	{
		name = ElectricCharge
		amount = 100
		maxAmount = 100
	}

	MODULE
	{
		name = ModuleB9PartSwitch
		moduleID = textureSwitch
		switcherDescription = Variant
		SUBTYPE
		{
			name = White
			title = White
			primaryColor = white
			secondaryColor = grey
		}
		SUBTYPE
		{
			name = Metal
			title = Metal
			primaryColor = grey
			secondaryColor = grey
			TEXTURE
			{
				texture = Benjee10_MMSEV/Parts/MMSEV_base_01_diffB
				currentTexture = MMSEV_base_01_diff
			}
			TEXTURE
			{
				texture = Benjee10_MMSEV/Parts/MMSEV_base_02_diffB
				currentTexture = MMSEV_base_02_diff
			}
			TEXTURE
			{
				texture = Benjee10_MMSEV/Parts/MMSEV_base_03_diffB
				currentTexture = MMSEV_base_03_diff
			}
			TEXTURE
			{
				texture = Benjee10_MMSEV/Parts/MMSEV_base_05_diffB
				currentTexture = MMSEV_base_05_diff
			}
		}
	}

	MODULE:NEEDS[Squad/Parts/Cargo/RepairKit]
	{
		name = ModuleInventoryPart
		InventorySlots = 6
		packedVolumeLimit = 850
	}
	
}
